Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
fix: replace YellowBox with LogBox
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed May 5, 2021
1 parent f9a205d commit 91626b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/NoteHistory/NoteHistoryPreview.tsx
Expand Up @@ -11,7 +11,7 @@ import { useCustomActionSheet } from '@Style/custom_action_sheet';
import { ELIPSIS } from '@Style/icons';
import { ThemeService } from '@Style/theme_service';
import React, { useCallback, useContext, useLayoutEffect } from 'react';
import { YellowBox } from 'react-native';
import { LogBox } from 'react-native';
import { HeaderButtons, Item } from 'react-navigation-header-buttons';
import {
Container,
Expand All @@ -21,7 +21,7 @@ import {
TitleContainer,
} from './NoteHistoryPreview.styled';

YellowBox.ignoreWarnings([
LogBox.ignoreLogs([
'Non-serializable values were found in the navigation state',
]);

Expand Down

0 comments on commit 91626b0

Please sign in to comment.