mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
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:
parent
26c1f1bcaa
commit
caf212045a
11 changed files with 13 additions and 16 deletions
|
@ -24,7 +24,7 @@ export const NewNotePage: NextPage = () => {
|
|||
|
||||
return (
|
||||
<CustomAsyncLoadingBoundary
|
||||
loading={loading}
|
||||
loading={loading || !value}
|
||||
error={error}
|
||||
loadingComponent={<LoadingScreen />}
|
||||
errorComponent={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue