Skip to content

Commit

Permalink
fix: lingui error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralph committed Sep 16, 2024
1 parent 29adbad commit da1b6e2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useState } from 'react';
import { useLingui } from '@lingui/react';

import ErrorBanner from 'web-components/src/components/banner/ErrorBanner';

Expand All @@ -17,6 +18,7 @@ import { WalletProviderInfo } from 'components/organisms/UserAccountSettings/Use
import { useSocialProviders } from './hooks/useSocialProviders';

export const ProfileEditSettings = () => {
const { _ } = useLingui();
const [error, setError] = useState<unknown>(undefined);
const { activeAccount, privActiveAccount } = useAuth();
const hasKeplrAccount = !!activeAccount?.addr;
Expand Down Expand Up @@ -46,7 +48,7 @@ export const ProfileEditSettings = () => {
: { connect: onButtonClick };

const emailConfirmationData = useEmailConfirmationData({
emailConfirmationText: EMAIL_ADDED,
emailConfirmationText: _(EMAIL_ADDED),
});

return (
Expand Down

0 comments on commit da1b6e2

Please sign in to comment.