Update Loading.tsx
This commit is contained in:
parent
d8e7a0b804
commit
5e9d3c6a45
1 changed files with 1 additions and 3 deletions
|
@ -11,10 +11,8 @@ export function Loading() {
|
|||
const app = useTldrawApp()
|
||||
const isLoading = app.useStore(loadingSelector)
|
||||
|
||||
if (!isLoading) return null
|
||||
|
||||
return (
|
||||
<StyledLoadingPanelContainer>
|
||||
<StyledLoadingPanelContainer hidden={!isLoading}>
|
||||
<FormattedMessage id="loading" values={{ dots: '...' }} />
|
||||
</StyledLoadingPanelContainer>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue