Skip to content

Commit

Permalink
fix create typing
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Mar 17, 2023
1 parent 59766b3 commit 91cd9e9
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -6,12 +6,10 @@ export const InterfaceCreateIdentity = (): JSX.Element => {
const { handlePurchaseIdentity, isLoading } = useMasa();

const createIdentity = useCallback(async () => {
if (handlePurchaseIdentity) {
await handlePurchaseIdentity();
}
await handlePurchaseIdentity?.();
}, [handlePurchaseIdentity]);

if (isLoading) return <MasaLoading />;
if (isLoading) return <MasaLoading/>;

return (
<div className="interface-create-identity">
Expand Down

0 comments on commit 91cd9e9

Please sign in to comment.