feat(services): update default value in UserDataContext
The default value in the UserDataContext has been updated. Previously, it was set to false and now it has been changed to an object with the name property set to "Avnyr".
This commit is contained in:
parent
606f37e78f
commit
036acfce23
@ -3,7 +3,7 @@
|
||||
import { createContext, useContext, useState } from 'react';
|
||||
import {IUserData} from "@/interfaces/userdata.interface";
|
||||
|
||||
const UserDataContext = createContext<IUserData>(false)
|
||||
const UserDataContext = createContext<IUserData>({name: "Avnyr"})
|
||||
|
||||
//TODO Run register task
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user