convert const function to function

This commit is contained in:
Ren Amamiya
2023-05-10 15:48:24 +07:00
parent ae5ff0c48f
commit 1a30c10806
32 changed files with 87 additions and 79 deletions

View File

@@ -12,6 +12,6 @@ const pool = new RelayPool(FULL_RELAYS, {
logSubscriptions: false,
});
export default function RelayProvider({ children }: { children: React.ReactNode }) {
export function RelayProvider({ children }: { children: React.ReactNode }) {
return <RelayContext.Provider value={pool}>{children}</RelayContext.Provider>;
}