Skip to content

Commit

Permalink
fix: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gambinish committed Jan 24, 2025
1 parent 5cc6860 commit 4d352e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ const SwitchChainApproval = () => {
const tokenNetworkFilter = useSelector(selectTokenNetworkFilter);

const onConfirm = useCallback(() => {
console.log('ON CONFIRM');

Check failure on line 26 in app/components/Approvals/SwitchChainApproval/SwitchChainApproval.tsx

View workflow job for this annotation

GitHub Actions / scripts (lint)

Unexpected console statement
defaultOnConfirm();

// If portfolio view is enabled should set network filter
if (isPortfolioViewEnabled()) {
console.log('SWITCH TO NETWORK', approvalRequest?.requestData?.chainId);

Check failure on line 31 in app/components/Approvals/SwitchChainApproval/SwitchChainApproval.tsx

View workflow job for this annotation

GitHub Actions / scripts (lint)

Unexpected console statement
const { PreferencesController } = Engine.context;
PreferencesController.setTokenNetworkFilter({
...(isAllNetworks ? tokenNetworkFilter : {}),
Expand Down
6 changes: 3 additions & 3 deletions app/components/UI/CollectibleMedia/CollectibleMedia.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,9 @@ const CollectibleMedia: React.FC<CollectibleMediaProps> = ({
]}
>
<Icon
// style={styles.privacyIcon}
// style={{ height: '100%', width: '100%', backgroundColor: 'blue' }}
name={privacyMode ? IconName.EyeSlash : IconName.Eye}
size={IconSize.Md}
color={colors.text.muted}
// testID={privacyMode ? EYE_SLASH_ICON_TEST_ID : EYE_ICON_TEST_ID}
/>
</View>
);
Expand Down Expand Up @@ -253,6 +250,9 @@ const CollectibleMedia: React.FC<CollectibleMediaProps> = ({
styles.tinyImage,
styles.smallImage,
styles.bigImage,
styles.imageHidden,
colors.text.muted,
privacyMode,
cover,
style,
tiny,
Expand Down

0 comments on commit 4d352e7

Please sign in to comment.