AFFiNE/packages/frontend/component
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
..
src fix(core): handle the getSession network error properly (#4909) 2023-11-20 11:04:39 +08:00
package.json refactor(core): remove all MUI related components and utilities (#4941) 2023-11-20 10:51:28 +08:00
tsconfig.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00