AFFiNE/packages/frontend/core/.webpack
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
..
cache-group.ts refactor(core): remove all MUI related components and utilities (#4941) 2023-11-20 10:51:28 +08:00
config.ts fix(core): handle the getSession network error properly (#4909) 2023-11-20 11:04:39 +08:00
postcss.config.cjs refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
runtime-config.ts fix(core): change server url of stable to insider (#4902) 2023-11-10 15:46:31 +08:00
s3-plugin.ts refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
template.html fix(core): description field in html template 2023-10-30 19:57:54 +08:00
webpack.config.ts fix(core): description field in html template 2023-10-30 19:57:54 +08:00