mirror of
https://github.com/Qortal/q-trade.git
synced 2025-06-21 05:21:21 +00:00
14 lines
240 B
TypeScript
14 lines
240 B
TypeScript
import { createContext } from 'react';
|
|
|
|
export interface UserContextProps {
|
|
avatar: string;
|
|
setAvatar: (avatar: string) => void;
|
|
}
|
|
|
|
export const UserContext = createContext<UserContextProps>({
|
|
avatar: '',
|
|
setAvatar: () => {},
|
|
});
|
|
|
|
|