File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { LogoGithubIcon } from '@primer/octicons-react';
1616import CloseRounded from '@material-ui/icons/CloseRounded' ;
1717import { Check , Save } from '@material-ui/icons' ;
1818import { TextField , Theme } from '@material-ui/core' ;
19+ import { UserContextType } from '../RepoDetails/RepoDetails' ;
1920
2021const useStyles = makeStyles ( ( theme : Theme ) => ( {
2122 root : {
@@ -35,7 +36,7 @@ export default function UserProfile(): React.ReactElement {
3536 const [ gitAccount , setGitAccount ] = useState < string > ( '' ) ;
3637 const navigate = useNavigate ( ) ;
3738 const { id } = useParams < { id ?: string } > ( ) ;
38- const { user : loggedInUser } = useContext ( UserContext ) ;
39+ const { user : loggedInUser } = useContext < UserContextType > ( UserContext ) ;
3940 const isProfile = ! id ;
4041
4142 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments