Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kolebjak committed Jul 12, 2023
1 parent 267da30 commit 9740467
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/FundWallet/FundWalletButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, ButtonProps } from "../Button/Button"
import styled from "@emotion/styled"
import { useTranslation } from 'react-i18next'
import { useTranslation } from "react-i18next"

const SButton = styled(Button)`
font-size: 12px;
Expand All @@ -11,11 +11,11 @@ const SButton = styled(Button)`
type Props = Pick<ButtonProps, "onClick">

export const FundWalletButton = (props: Props) => {
const { t } = useTranslation();
const { t } = useTranslation()

return (
<SButton {...props} variant="primary">
{t('fund.button')}
{t("fund.button")}
</SButton>
)
}
7 changes: 4 additions & 3 deletions src/components/FundWallet/FundWalletMobileButton.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { Button, ButtonProps } from "../Button/Button"
import { useTranslation } from 'react-i18next'
import { useTranslation } from "react-i18next"
import { ReactComponent as FundIcon } from "assets/icons/FundIcon.svg"

type Props = Pick<ButtonProps, "onClick">

export const FundWalletMobileButton = (props: Props) => {
const { t } = useTranslation();
const { t } = useTranslation()

return (
<Button {...props} variant="primary" fullWidth={true}>
<FundIcon />{t('fund.button')}
<FundIcon />
{t("fund.button")}
</Button>
)
}

0 comments on commit 9740467

Please sign in to comment.