Remove invalid Shimmer fallback now that children text is required (#388)

* Remove invalid Shimmer fallback now that children text is required

* Remove unused Shimmer import, add changeset

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Hayden Bleasel <hello@haydenbleasel.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gregoire Mielle
2026-03-06 21:12:48 +01:00
committed by GitHub
parent 80f91b5cab
commit d1bd5f8343
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"ai-elements": patch
---
Remove invalid Shimmer fallback from TerminalStatus now that Shimmer requires children text
+1 -2
View File
@@ -16,7 +16,6 @@ import {
useState,
} from "react";
import { Shimmer } from "./shimmer";
interface TerminalContextType {
output: string;
@@ -133,7 +132,7 @@ export const TerminalStatus = ({
className={cn("flex items-center gap-2 text-xs text-zinc-400", className)}
{...props}
>
{children ?? <Shimmer className="w-16" />}
{children}
</div>
);
};