diff --git a/src/components/layout/update-button.tsx b/src/components/layout/update-button.tsx index 8cfe36afc..67e4c1100 100644 --- a/src/components/layout/update-button.tsx +++ b/src/components/layout/update-button.tsx @@ -1,6 +1,5 @@ import { Button } from '@mui/material' import { useRef } from 'react' -import { useTranslation } from 'react-i18next' import { DialogRef } from '@/components/base' import { useUpdate } from '@/hooks/use-update' @@ -13,7 +12,6 @@ interface Props { export const UpdateButton = (props: Props) => { const { className } = props - const { t } = useTranslation() const viewerRef = useRef(null) const { updateInfo } = useUpdate() @@ -31,7 +29,7 @@ export const UpdateButton = (props: Props) => { className={className} onClick={() => viewerRef.current?.open()} > - {t('shared.actions.new')} + New )