Skip to content

Commit

Permalink
going full pascal case
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Mar 17, 2023
1 parent 0d3dbf9 commit 262d389
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/provider/masa-context-provider.tsx
Expand Up @@ -16,7 +16,7 @@ import {
useWallet,
} from './modules';
import { Signer, Wallet } from 'ethers';
import { MASA_CONTEXT } from './masa-context';
import { MasaContext } from './masa-context';
import { MasaShape } from './masa-shape';
import { useScopes } from './modules/scopes/scopes';

Expand Down Expand Up @@ -267,6 +267,6 @@ export const MasaContextProvider = ({
};

return (
<MASA_CONTEXT.Provider value={context}>{children}</MASA_CONTEXT.Provider>
<MasaContext.Provider value={context}>{children}</MasaContext.Provider>
);
};
2 changes: 1 addition & 1 deletion src/provider/masa-context.tsx
@@ -1,4 +1,4 @@
import { createContext } from 'react';
import { MasaShape } from './masa-shape';

export const MASA_CONTEXT = createContext<MasaShape>({});
export const MasaContext = createContext<MasaShape>({});
4 changes: 2 additions & 2 deletions src/provider/use-masa.tsx
@@ -1,7 +1,7 @@
import { useContext } from 'react';
import { MASA_CONTEXT } from './masa-context';
import { MasaContext } from './masa-context';
import { MasaShape } from './masa-shape';

export const useMasa = (): MasaShape => {
return useContext<MasaShape>(MASA_CONTEXT);
return useContext<MasaShape>(MasaContext);
};

0 comments on commit 262d389

Please sign in to comment.