From 1489f8ec1b8ce8914499c0b4e9fe843311a0f3fa Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sat, 8 Aug 2020 09:45:31 +0300 Subject: [PATCH] SyncCollections: fix the return type of the setSyncCollection action. --- src/store/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/actions.ts b/src/store/actions.ts index 13a338f..2ad00cc 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -144,9 +144,9 @@ export const itemBatch = createAction( export const setSyncCollection = createAction( "SET_SYNC_COLLECTION", - (colUid: string, stoken: string) => { + (uid: string, stoken: string) => { return { - colUid, + uid, stoken, }; }