Merge pull request #598 from Stremio/fix/board-loading-state

fix(useBoard): remove timeout causing to be stuck in loading state
This commit is contained in:
Tim 2024-03-04 17:31:27 +01:00 committed by GitHub
commit 41580cddea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ const useBoard = () => {
}
}, 'board');
}, []);
const board = useModelState({ model: 'board', timeout: 1500, action });
const board = useModelState({ model: 'board', action });
return [board, loadRange];
};