mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-16 01:02:04 +03:00
7f09652cca
If network offline or API error happens, the `session` returned by the `useSession` hook will be null, so we can't assume it is not null. There should be following changes: 1. create a page in ErrorBoundary to let the user refetch the session. 2. The `SessionProvider` stop to pull the new session once the session is null, we need to figure out a way to pull the new session when the network is back or the user click the refetch button. |
||
---|---|---|
.. | ||
cache-group.ts | ||
config.ts | ||
postcss.config.cjs | ||
runtime-config.ts | ||
s3-plugin.ts | ||
template.html | ||
webpack.config.ts |