Skip to content

Commit

Permalink
chore: add bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mironiasty committed Dec 5, 2023
1 parent 3f3b5e3 commit eb7ff23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions example/src/ShareScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { Share } from 'react-native';

type MessageType = { message: { method: 'share'; shareText: string } };

let x = 0;

const ShareScreen: React.FC<Props> = (props) => {
const onMessage: SessionMessageCallback = async (message) => {
const {
Expand Down
2 changes: 1 addition & 1 deletion example/src/WebView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const WebView: React.FC<Props> = (props) => {
};

const onVisitError: OnErrorCallback = (error) => {
const notLoggedIn = error.statusCode === 401;
const notLoggedIn = error.statusCode === '401';
if (notLoggedIn) {
navigation.navigate(Routes.SignIn, { path: 'signin' });
}
Expand Down

0 comments on commit eb7ff23

Please sign in to comment.