AFFiNE/packages/frontend
LongYinan 7f09652cca
fix(core): handle the getSession network error properly (#4909)
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.
2023-11-20 11:04:39 +08:00
..
component fix(core): handle the getSession network error properly (#4909) 2023-11-20 11:04:39 +08:00
core fix(core): handle the getSession network error properly (#4909) 2023-11-20 11:04:39 +08:00
electron chore: bump blocksuite (#4958) 2023-11-16 22:01:03 +08:00
graphql feat(core): support share edgeless mode (#4856) 2023-11-15 16:02:58 +08:00
hooks chore: bump blocksuite (#4958) 2023-11-16 22:01:03 +08:00
i18n feat(i18n): update translation (#4923) 2023-11-17 17:39:33 +08:00
native v0.10.0 2023-11-10 11:42:04 +08:00
templates v0.10.0 2023-11-10 11:42:04 +08:00
workspace refactor: new provider (#4900) 2023-11-17 15:50:01 +08:00