mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-03 06:40:20 +01:00
6 lines
244 B
TypeScript
6 lines
244 B
TypeScript
|
|
import { createContext, useContext } from 'react';
|
||
|
|
type TShareContext = { isSharedConvo?: boolean };
|
||
|
|
|
||
|
|
export const ShareContext = createContext<TShareContext>({} as TShareContext);
|
||
|
|
export const useShareContext = () => useContext(ShareContext);
|