Skip to content

Commit 4dd89a1

Browse files
committed
fix ts error
1 parent 0019e9d commit 4dd89a1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/provider.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,7 @@ export const UpdateProvider = ({
139139
return false;
140140
}
141141
},
142-
[
143-
client,
144-
options.updateStrategy,
145-
options.afterDownloadUpdate,
146-
alertUpdate,
147-
alertError,
148-
throwErrorIfEnabled,
149-
],
142+
[client, options, alertUpdate, alertError, throwErrorIfEnabled],
150143
);
151144

152145
const downloadAndInstallApk = useCallback(

0 commit comments

Comments
 (0)