Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Nov 8, 2022
1 parent 3f4d3b6 commit 1372d9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/common/components/masa-interface/index.tsx
Expand Up @@ -22,7 +22,7 @@ export const MasaInterface = () => {
loading,
identity,
loggedIn,
closeModal
closeModal,
} = useMasa();

const page = useMemo(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/common/helpers/provider/masa-context.tsx
Expand Up @@ -125,7 +125,7 @@ export const MasaContextProvider = ({ children }: MasaContextProviderProps) => {
modalCallback();
}
}, [modalCallback, setModalOpen, loggedIn, isConnected]);

useEffect(() => {
(async () => {
setLoading(true);
Expand Down
2 changes: 0 additions & 2 deletions src/common/helpers/provider/masa-provider.tsx
Expand Up @@ -51,8 +51,6 @@ export const useMetamask = () => {
});
}, []);



const connect = () => {
//@ts-ignore
if (window.ethereum) {
Expand Down
4 changes: 2 additions & 2 deletions stories/masa.stories.tsx
Expand Up @@ -28,8 +28,8 @@ const Component = () => {
const { masa, connect } = useMasa();

const handleConect = useCallback(() => {
connect?.(function() {
alert("hello hello connected")
connect?.(function () {
alert('hello hello connected');
});
}, [connect]);

Expand Down

0 comments on commit 1372d9a

Please sign in to comment.