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

Commit 049a46c

Browse files
committed
minor fix
1 parent 18ced88 commit 049a46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export const useFocusEffect = (callback: EffectCallback) => {
190190
export const useIsFocused = () => {
191191
const navigation = useNavigation();
192192
const getNavigation = useGetter(useNavigation());
193-
const [focused, setFocused] = useState(navigation.isFocused());
193+
const [focused, setFocused] = useState(navigation.isFocused);
194194

195195
useEffect(() => {
196196
const nav = getNavigation();

0 commit comments

Comments
 (0)