Skip to content

Commit 3a2dbee

Browse files
talissoncostaclaude
andcommitted
fix(usage): let the restricted story show the state it is named for
The harness kept the old guard when the page moved to rendering on the block, so RestrictedButBackUnderTheLimit rendered nothing at all. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent f1f1408 commit 3a2dbee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/documentation/components/UsageDashboard.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const UsagePage: FC<HarnessProps> = ({
141141
// Nothing to refetch here; passed so FailedToLoad renders its button.
142142
onRetry={() => {}}
143143
>
144-
{exceeded && (
144+
{(exceeded || isRestricted) && (
145145
<OverLimitBanner
146146
over={exceeded}
147147
basis={basis}

0 commit comments

Comments
 (0)