fix(async-loading): show async loaded components only if value is present

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-12-29 12:27:38 +01:00
parent 26c1f1bcaa
commit caf212045a
11 changed files with 13 additions and 16 deletions

View file

@ -24,7 +24,7 @@ export const NewNotePage: NextPage = () => {
return (
<CustomAsyncLoadingBoundary
loading={loading}
loading={loading || !value}
error={error}
loadingComponent={<LoadingScreen />}
errorComponent={