From d8c76be1d92cc2ff8e4cdd0be2aad2fa73f8f4fa Mon Sep 17 00:00:00 2001 From: mbnuqw Date: Tue, 15 Aug 2023 00:18:24 +0500 Subject: [PATCH] Refactoring --- src/services/snapshots.actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/snapshots.actions.ts b/src/services/snapshots.actions.ts index b15a62e8..e43a2421 100644 --- a/src/services/snapshots.actions.ts +++ b/src/services/snapshots.actions.ts @@ -187,6 +187,7 @@ export function exportSnapshot(snapshot: NormalizedSnapshot) { }) } } + export async function addSnapshot(snapshot: NormalizedSnapshot): Promise { if (!Info.isBg) return await IPC.bg('addSnapshot', snapshot)