mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-12-05 14:44:41 -05:00
fix(#76): keep embedded Preview from stacking freshness notices
Weekend shell already discloses context availability; a second Preview banner from shared championship headers produced conflicting Partial/Stale vocabulary. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
5534ebf82c
commit
eabf87a2b8
4 files changed
+80
-3
No files matched your search
@@ -455,7 +455,8 @@ export function RacePreviewPage({
|
||||
data-meeting-key={previewMeeting.meeting_key}
|
||||
data-embedded={embedded ? 'true' : undefined}
|
||||
>
|
||||
{dataNotice && (
|
||||
{/* Weekend shell owns availability disclosure when Preview is embedded. */}
|
||||
{!embedded && dataNotice && (
|
||||
<DataNotice
|
||||
availability={dataNotice}
|
||||
message={noticeMessage(dataNotice)}
|
||||
|
||||
Reference in new issue
Block a user