Commit 17c7aa0f authored by huanglu's avatar huanglu

fix: update

parent 3191bbad
...@@ -5,8 +5,7 @@ export const useHeaderShow = (show : boolean, deps = []) => { ...@@ -5,8 +5,7 @@ export const useHeaderShow = (show : boolean, deps = []) => {
const navigation = useNavigation() const navigation = useNavigation()
useEffect(() => { useEffect(() => {
navigation.setOptions({ navigation.setOptions({
headerShown: show, headerShown: show
title: 'sssssss'
}) })
}, [show, ...deps]) }, [show, ...deps])
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment