Commit 17c7aa0f authored by huanglu's avatar huanglu

fix: update

parent 3191bbad
......@@ -5,8 +5,7 @@ export const useHeaderShow = (show : boolean, deps = []) => {
const navigation = useNavigation()
useEffect(() => {
navigation.setOptions({
headerShown: show,
title: 'sssssss'
headerShown: show
})
}, [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