Skip to content

Commit 5a205c1

Browse files
committed
Fix nullcheck
1 parent 3a28473 commit 5a205c1

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/namespaces/files

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/namespaces/files/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ export const syncSandbox: AsyncAction<any[]> = async (
780780
}
781781
});
782782
} catch (error) {
783-
if (error.response.status === 404) {
783+
if (error.response?.status === 404) {
784784
return;
785785
}
786786

0 commit comments

Comments
 (0)