Skip to content

Commit

Permalink
fix: auth overlay on create gallery page (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries authored Nov 15, 2023
1 parent 4856b12 commit 51b14e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/js/Pages/Galleries/MyGalleries/Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface Properties {
nftsPerPage: number;
collectionsPerPage: number;
nftLimit: number;
nftsCount: number;
nftCount: number;
}

const Create = ({
Expand All @@ -37,7 +37,7 @@ const Create = ({
gallery,
nftsPerPage,
nftLimit,
nftsCount,
nftCount,
collectionsPerPage,
}: Properties): JSX.Element => {
assertUser(auth.user);
Expand Down Expand Up @@ -105,8 +105,8 @@ const Create = ({
<LayoutWrapper
withSlider
toastMessage={props.toast}
belowHeader={<NoNftsOverlay show={nftsCount === 0} />}
displayAuthOverlay={nftsCount > 0 && initialized}
belowHeader={<NoNftsOverlay show={nftCount === 0} />}
displayAuthOverlay={nftCount > 0 && initialized}
mustBeSigned={gallery !== undefined}
>
<Head title={title} />
Expand Down

0 comments on commit 51b14e0

Please sign in to comment.