mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 15:09:27 +08:00
* fix: context add displayName * fix: observer add displayName * fix: memo component add displayName * fix: forwordRef component add displayName
6 lines
207 B
TypeScript
6 lines
207 B
TypeScript
import { createContext } from 'react';
|
|
import { APIClient } from './APIClient';
|
|
|
|
export const APIClientContext = createContext<APIClient>(new APIClient());
|
|
APIClientContext.displayName = 'APIClientContext';
|