Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Commit 7050510

Browse files
committed
fix lint
1 parent 091ad13 commit 7050510

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/__tests__/Hooks.test.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import * as React from 'react';
2-
import { useState } from 'react';
1+
import { default as React, useState } from 'react';
32
import * as renderer from 'react-test-renderer';
43

54
import {
@@ -18,7 +17,9 @@ import {
1817
useFocusState,
1918
} from '../Hooks';
2019

21-
type DetailsScreenParams = { from: string };
20+
interface DetailsScreenParams {
21+
from: string;
22+
}
2223

2324
const HomeScreen = () => {
2425
const { navigate } = useNavigation();

0 commit comments

Comments
 (0)