removed old comment
parent
cc1dd6a4c2
commit
e0e0bd01a4
|
@ -1,8 +1,6 @@
|
||||||
import { useContext } from "react";
|
import { useContext } from "react";
|
||||||
import { TuitioContext } from "../contexts";
|
import { TuitioContext } from "../contexts";
|
||||||
|
|
||||||
// vezi poate il combini cu token: useTuitioAuth
|
|
||||||
|
|
||||||
const useTuitioUser = () => {
|
const useTuitioUser = () => {
|
||||||
const state = useContext(TuitioContext);
|
const state = useContext(TuitioContext);
|
||||||
const userName = state.auth.userName;
|
const userName = state.auth.userName;
|
||||||
|
|
Loading…
Reference in New Issue