Skip to content

Commit

Permalink
moved homeheader to shared component
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleA committed Aug 4, 2023
1 parent 2a2fa5e commit 5dcba93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
} from '@0xsequence/design-system'
import { useAccount } from 'wagmi'

import { formatAddress } from '../../../utils'
import * as styles from '../../../shared/styles.css'
import { formatAddress } from '../utils'
import * as styles from './styles.css'

export const HomeHeader = () => {
const { address } = useAccount()
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/src/shared/KitWalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
Send,
History
} from '../views'
import { HomeHeader } from '../views/Home/components/HomeHeader'
import { HomeHeader } from './HomeHeader'
import {
Navigation,
NavigationContext,
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/src/views/HomeOld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
Box,
} from '@0xsequence/design-system'

import { HomeHeader } from './Home/components/HomeHeader'
import { HomeHeader } from '../shared/HomeHeader'
import { ActionButtons } from '../shared/ActionButtons'
import { CoinsSummary } from '../shared/CoinsSummary'
import { CollectionsSummary } from '../shared/CollectionsSummary'
Expand Down

0 comments on commit 5dcba93

Please sign in to comment.