Skip to content

Commit 07e7fcd

Browse files
siltomatoRaymondLuong3
authored andcommitted
remove 'await' for realtime-doc delete
1 parent f08061b commit 07e7fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SIL.XForge.Scripture/ClientApp/src/xforge-common/models/realtime-doc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export abstract class RealtimeDoc<T = any, Ops = any, P = any> {
146146
}
147147

148148
async delete(): Promise<void> {
149-
await this.adapter.delete();
149+
this.adapter.delete();
150150
await this.updateOfflineData();
151151
await this.realtimeService.onLocalDocUpdate(this);
152152
}

0 commit comments

Comments
 (0)