Skip to content

Commit

Permalink
Update AppDownloadLinks.tsx
Browse files Browse the repository at this point in the history
Moved Type declaration out of component scope.
  • Loading branch information
hkopser99 authored Feb 12, 2024
1 parent 3297913 commit 8b90adf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/settings/AppDownloadLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ import CONST from '@src/CONST';
import type {TranslationPaths} from '@src/languages/types';
import ROUTES from '@src/ROUTES';

type DownloadMenuItem = MenuItemProps & {
translationKey: TranslationPaths;
openAppDownloadLink: () => void;
downloadLink: string;
};

function AppDownloadLinksPage() {
const styles = useThemeStyles();
const {translate} = useLocalize();
const popoverAnchor = useRef<View>(null);

type DownloadMenuItem = MenuItemProps & {
translationKey: TranslationPaths;
openAppDownloadLink: () => void;
downloadLink: string;
};

const menuItems: DownloadMenuItem[] = [
{
translationKey: 'initialSettingsPage.appDownloadLinks.android.label',
Expand Down

0 comments on commit 8b90adf

Please sign in to comment.