Skip to content

Commit

Permalink
some typing
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rajpal committed Jul 31, 2024
1 parent fdb0fac commit fe7ec40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/client/views/account/security/TwoFactorEmail.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Box, Button, Margins } from '@rocket.chat/fuselage';
import { useUser, useTranslation, useSetting } from '@rocket.chat/ui-contexts';
import type { ComponentProps } from 'react';
import type { ComponentProps, ReactNode } from 'react';
import React, { useCallback } from 'react';

import { useEndpointAction } from '../../../hooks/useEndpointAction';

const TwoFactorEmail = (props: ComponentProps<typeof Box>): JSX.Element | null => {
const TwoFactorEmail = (props: ComponentProps<typeof Box>): ReactNode => {
const t = useTranslation();
const user = useUser();

Expand Down

0 comments on commit fe7ec40

Please sign in to comment.