Created
January 29, 2023 08:08
-
-
Save ms314006/4950c15dc40bc64f32c05f4e28b6baef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Header = () => { | |
const { data: user } = useUser(); | |
return ( | |
<div>{ `${user.name}您好!` }</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment