Skip to content

Commit

Permalink
fix: ci issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AMIRKHANEF committed Dec 30, 2024
1 parent 7bc2018 commit c641176
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/extension-polkagate/src/partials/PrivacyPolicy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ import { Translation } from 'react-i18next';

import { ExtensionPopup, GradientButton } from '../components';
import { useTranslation } from '../hooks';
import { Popups } from '../popup/welcome';
import { WelcomeHeaderPopups } from './WelcomeHeader';

interface Props {
setPopup: React.Dispatch<React.SetStateAction<Popups>>;
setPopup: React.Dispatch<React.SetStateAction<WelcomeHeaderPopups>>;
openMenu: boolean;
}

function PrivacyPolicy ({ openMenu, setPopup }: Props): React.ReactElement {
const { t } = useTranslation();
const theme = useTheme();

const handleClose = useCallback(() => setPopup(Popups.NONE), [setPopup]);
const handleClose = useCallback(() => setPopup(WelcomeHeaderPopups.NONE), [setPopup]);

return (
<ExtensionPopup
Expand Down

0 comments on commit c641176

Please sign in to comment.