Skip to content

Commit

Permalink
fix: update overlay styles when switching address
Browse files Browse the repository at this point in the history
  • Loading branch information
patricio0312rev committed Oct 3, 2023
1 parent a012662 commit fc098bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/js/Components/Layout/Overlay/Overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export const Overlay = ({
ref={reference}
{...properties}
className={cn(
"fixed inset-0 z-40 mt-14 flex h-screen w-screen flex-col items-center justify-start overflow-auto bg-white xs:mt-18 sm:mt-0 sm:justify-center",
"fixed inset-0 z-40 mt-14 flex h-screen w-screen flex-col items-center justify-start overflow-auto bg-white xs:mt-18 sm:mt-0 sm:justify-center ",
className,
{
"bg-opacity-60": !showCloseButton,
"bg-opacity-80 backdrop-blur-md": !showCloseButton,
"bg-opacity-90": showCloseButton,
},
)}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Hooks/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export const useAuth = ({ mustBeSigned = false }: Properties = {}): App.Data.Aut

return metamaskErrorMessage !== undefined;
};

const showCloseButton = allowsGuests || requiresSignature;
console.log({ showCloseButton, allowsGuests, requiresSignature });

return {
authenticated,
Expand Down

0 comments on commit fc098bb

Please sign in to comment.