File tree Expand file tree Collapse file tree
apps/stardew.app/src/components/sheets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,10 +106,10 @@ export const FishSheet = ({
106106 const content = (
107107 < >
108108 < div className = "mt-4 space-y-6" >
109- { showCaught && (
110- < section className = "space-y -2" >
111- < div className = "grid grid-cols-1 gap-2" >
112- { selectedItems . size > 0 ? (
109+ < section className = "space-y-2" >
110+ < div className = "grid grid-cols-1 gap -2" >
111+ { showCaught &&
112+ ( selectedItems . size > 0 ? (
113113 < >
114114 < Button
115115 variant = "secondary"
@@ -158,27 +158,26 @@ export const FishSheet = ({
158158 </ Button >
159159 ) }
160160 </ >
161- ) }
162- { ! activePlayer && < CreatePlayerRedirect /> }
163- { name && (
164- < Button variant = "outline" data-umami-event = "Visit wiki" asChild >
165- < a
166- className = "flex items-center"
167- target = "_blank"
168- rel = "noreferrer"
169- href = { `https://stardewvalleywiki.com/${ name . replaceAll (
170- " " ,
171- "_" ,
172- ) } `}
173- >
174- Visit Wiki Page
175- < IconExternalLink className = "h-4" > </ IconExternalLink >
176- </ a >
177- </ Button >
178- ) }
179- </ div >
180- </ section >
181- ) }
161+ ) ) }
162+ { showCaught && ! activePlayer && < CreatePlayerRedirect /> }
163+ { name && (
164+ < Button variant = "outline" data-umami-event = "Visit wiki" asChild >
165+ < a
166+ className = "flex items-center"
167+ target = "_blank"
168+ rel = "noreferrer"
169+ href = { `https://stardewvalleywiki.com/${ name . replaceAll (
170+ " " ,
171+ "_" ,
172+ ) } `}
173+ >
174+ Visit Wiki Page
175+ < IconExternalLink className = "h-4" > </ IconExternalLink >
176+ </ a >
177+ </ Button >
178+ ) }
179+ </ div >
180+ </ section >
182181 { fish && (
183182 < >
184183 < section className = "space-y-2" >
You can’t perform that action at this time.
0 commit comments