Skip to content

Commit

Permalink
fix: corrupted image layout
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Groß <mail@gross-johannes.de>
  • Loading branch information
jo-gross committed Sep 16, 2024
1 parent db1d6f2 commit 55e004a
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PrismaAdapter } from '@next-auth/prisma-adapter';

export const authOptions: NextAuthOptions = {
theme: {
logo: '/images/The Cocktail Manager Logo.png',
logo: '/images/Logo.svg',
},
providers: [
Google({
Expand Down
3 changes: 2 additions & 1 deletion pages/workspaces/[workspaceId]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ export default function OverviewPage() {
key={`card-${selectedCard.id}-group-${group.id}-cocktail-${groupItem.cocktailId}-${index}`}
ref={(el) => {
cocktailItemRefs.current[groupItem.cocktailId!] = el;
}} // Updated to return void showImage={showImage}
}}
showImage={showImage}
showTags={showTags}
showInfo={true}
showPrice={groupItem.specialPrice == undefined && group.groupPrice == undefined}
Expand Down
Loading

0 comments on commit 55e004a

Please sign in to comment.