From d8e191cf0c45f910e2117ae8b74241ae07cf8632 Mon Sep 17 00:00:00 2001 From: Daniel-Cross Date: Tue, 31 Dec 2024 15:47:38 +0100 Subject: [PATCH] fixed linting issues from enums --- app/components/Approvals/Snaps/SnapUICard/index.tsx | 1 - app/components/Approvals/Snaps/SnapUIRenderer/components/box.ts | 2 +- .../Approvals/Snaps/SnapUIRenderer/components/footer.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/components/Approvals/Snaps/SnapUICard/index.tsx b/app/components/Approvals/Snaps/SnapUICard/index.tsx index 06f3a399ab7..0db2cb6cf0f 100644 --- a/app/components/Approvals/Snaps/SnapUICard/index.tsx +++ b/app/components/Approvals/Snaps/SnapUICard/index.tsx @@ -4,7 +4,6 @@ import { Image } from 'react-native'; // External dependencies. import { AlignItems, - Display, FlexDirection, JustifyContent, TextAlign, diff --git a/app/components/Approvals/Snaps/SnapUIRenderer/components/box.ts b/app/components/Approvals/Snaps/SnapUIRenderer/components/box.ts index 1dcabd0c66b..fadd54de278 100644 --- a/app/components/Approvals/Snaps/SnapUIRenderer/components/box.ts +++ b/app/components/Approvals/Snaps/SnapUIRenderer/components/box.ts @@ -3,7 +3,7 @@ import { BoxElement, JSXElement, BoxProps } from '@metamask/snaps-sdk/jsx'; import { getJsxChildren } from '@metamask/snaps-utils'; import { NonEmptyArray } from '@metamask/utils'; import { TextColor } from '../../../../../component-library/components/Texts/Text'; -import { mapToTemplate, Display, FlexDirection } from '../utils'; +import { mapToTemplate, FlexDirection } from '../utils'; import { UIComponent, UIComponentFactory } from './types'; import { ViewStyle, ViewProps } from 'react-native'; diff --git a/app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts b/app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts index 329f444245e..73f0139db74 100644 --- a/app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts +++ b/app/components/Approvals/Snaps/SnapUIRenderer/components/footer.ts @@ -1,7 +1,7 @@ import { FooterElement, ButtonElement } from '@metamask/snaps-sdk/jsx'; import { getJsxChildren } from '@metamask/snaps-utils'; import { UIComponent, UIComponentFactory, UIComponentParams } from './types'; -import { BackgroundColor, BlockSize, FlexDirection } from '../utils'; +import { BackgroundColor } from '../utils'; import { ButtonVariant } from '@metamask/snaps-sdk'; import { Button as buttonFn } from './button';