Skip to content

Commit

Permalink
Merge pull request IQSS#287 from IQSS/fix/279-loading-text-appears-wh…
Browse files Browse the repository at this point in the history
…en-navigating

279 - Fix remove loading text
  • Loading branch information
ekraffmiller authored Jan 31, 2024
2 parents e67a605 + c7cfbb9 commit 7fac4d1
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 7fac4d1

Please sign in to comment.