Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Oct 25, 2024
1 parent bfa22fd commit 267f5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions apps/lend/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ import 'focus-visible'
import '@/globals.css'
import { HashRouter } from 'react-router-dom'
import type { AppProps } from 'next/app'
import { connectWalletLocales } from '@/common/features/connect-wallet'
import { connectWalletLocales, initOnboard } from '@/common/features/connect-wallet'
import { persister, queryClient } from '@/shared/api/query-client'
import GlobalStyle from '@/globalStyle'
import Page from '@/layout/index'
import { persister, queryClient } from '@/shared/api/query-client'
import { QueryProvider } from '@/ui/QueryProvider'
import { dynamicActivate, initTranslation } from '@/lib/i18n'
import { messages as messagesEn } from '@/locales/en/messages.js'
import networks from '@/networks'
Expand All @@ -23,7 +21,6 @@ import { QueryProvider } from '@/ui/QueryProvider'
import { isMobile, removeExtraSpaces } from '@/utils/helpers'
import { getLocaleFromUrl } from '@/utils/utilsRouter'
import { getStorageValue } from '@/utils/utilsStorage'
import { initOnboard } from '@/common/features/connect-wallet'

i18n.load({ en: messagesEn })
i18n.activate('en')
Expand Down
2 changes: 1 addition & 1 deletion apps/main/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { I18nProvider as AriaI18nProvider } from 'react-aria'
import { HashRouter } from 'react-router-dom'
import type { AppProps } from 'next/app'
import { connectWalletLocales } from '@/common/features/connect-wallet'
import { initOnboard } from '@/common/features/connect-wallet'
import { persister, queryClient } from '@/shared/api/query-client'
import { REFRESH_INTERVAL } from '@/constants'
import GlobalStyle from '@/globalStyle'
Expand All @@ -23,7 +24,6 @@ import { QueryProvider } from '@/ui/QueryProvider'
import { getPageWidthClassName } from '@/ui/utils'
import { getStorageValue, isMobile, removeExtraSpaces } from '@/utils'
import { getLocaleFromUrl } from '@/utils/utilsRouter'
import { initOnboard } from '@/common/features/connect-wallet'

i18n.load({ en: messagesEn })
i18n.activate('en')
Expand Down

0 comments on commit 267f5b0

Please sign in to comment.