Skip to content

Commit

Permalink
fix: remove loading text from suspense fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
MellyGray committed Jan 25, 2024
1 parent c48c175 commit c7cfbb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ThemeProvider } from '@iqss/dataverse-design-system'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<React.Suspense fallback="loading">
<React.Suspense>
<LoadingProvider>
<ThemeProvider>
<App />
Expand Down
2 changes: 1 addition & 1 deletion src/stories/WithI18next.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { StoryFn } from '@storybook/react'

export const WithI18next = (Story: StoryFn) => {
return (
<Suspense fallback={<div>loading translations...</div>}>
<Suspense>
<I18nextProvider i18n={i18next}>
<Story />
</I18nextProvider>
Expand Down

0 comments on commit c7cfbb9

Please sign in to comment.