Skip to content

Commit 24f226e

Browse files
CopilotTechQuery
andcommitted
Simplify Loading example based on code review feedback
Co-authored-by: TechQuery <[email protected]>
1 parent 00f6a05 commit 24f226e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

registry/new-york/blocks/loading/example.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ export default function LoadingExample() {
1818
Click the button to toggle the full-screen loading overlay
1919
</p>
2020

21-
{isLoading && (
22-
<Loading>
23-
<span>Please wait...</span>
24-
</Loading>
25-
)}
21+
{isLoading && <Loading>Please wait...</Loading>}
2622
</div>
2723
);
2824
}

0 commit comments

Comments
 (0)