We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cc1982 commit 94c313eCopy full SHA for 94c313e
client/src/app/(client)/(pages)/(event)/components/stage.tsx
@@ -49,7 +49,7 @@ const TopTip = React.memo(() => {
49
}, [state])
50
51
if (!tip) {
52
- return <></>
+ return null
53
}
54
55
return (
@@ -213,7 +213,7 @@ export const Stage = React.memo(() => {
213
{nowPlayingEl}
214
{onTheSideEl}
215
{upNextEl}
216
- {(!nowPlayingEl || !onTheSideEl || !upNextEl) && topTipEl}
+ {(!nowPlayingEl || !onTheSideEl || !upNextEl) && (state.tips.length > 0) && topTipEl}
217
</div>
218
</Section>
219
)
0 commit comments