Skip to content

Commit b707977

Browse files
committed
Add pulse animation on loading
1 parent 771a690 commit b707977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/pages/WorkspacesPage/WorkspacesTable.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -733,13 +733,14 @@ const AppLink: FC<AppLinkProps> = ({
733733
<TooltipTrigger asChild>
734734
<Button variant="outline" size="icon-lg" asChild>
735735
<a
736+
className={isLoading ? "animate-pulse" : ""}
736737
href={href}
737738
onClick={(e) => {
738739
e.stopPropagation();
739740
onClick?.(e);
740741
}}
741742
>
742-
<Spinner loading={isLoading}>{children}</Spinner>
743+
{children}
743744
<span className="sr-only">{label}</span>
744745
</a>
745746
</Button>

0 commit comments

Comments
 (0)