File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ export default function FolderPanel({
353353 }
354354 />
355355 < UserButton . Action
356- label = "What's New"
356+ label = { hasNewVersion ? "What's New •" : "What's New" }
357357 labelIcon = {
358358 < svg
359359 xmlns = "http://www.w3.org/2000/svg"
@@ -371,6 +371,9 @@ export default function FolderPanel({
371371 < rect width = "18" height = "18" x = "3" y = "4" rx = "2" />
372372 < path d = "M3 10h18" />
373373 < path d = "m9 16 2 2 4-4" />
374+ { hasNewVersion && (
375+ < circle cx = "20" cy = "4" r = "3" fill = "#ef4444" stroke = "none" />
376+ ) }
374377 </ svg >
375378 }
376379 onClick = { ( ) => {
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ export function MobileLayout({
230230 }
231231 />
232232 < UserButton . Action
233- label = "What's New"
233+ label = { hasNewVersion ? "What's New •" : "What's New" }
234234 labelIcon = {
235235 < svg
236236 xmlns = "http://www.w3.org/2000/svg"
@@ -248,6 +248,9 @@ export function MobileLayout({
248248 < rect width = "18" height = "18" x = "3" y = "4" rx = "2" />
249249 < path d = "M3 10h18" />
250250 < path d = "m9 16 2 2 4-4" />
251+ { hasNewVersion && (
252+ < circle cx = "20" cy = "4" r = "3" fill = "#ef4444" stroke = "none" />
253+ ) }
251254 </ svg >
252255 }
253256 onClick = { ( ) => {
You can’t perform that action at this time.
0 commit comments