diff --git a/gui/app/src/components/commons/Button.tsx b/gui/app/src/components/commons/Button.tsx index 51022b94f..2ed218f75 100644 --- a/gui/app/src/components/commons/Button.tsx +++ b/gui/app/src/components/commons/Button.tsx @@ -2,10 +2,23 @@ import classNames from 'classnames'; import { Clickable } from './Clickable'; import React, { ReactNode, useMemo } from 'react'; import { NavLink } from 'react-router-dom'; -import { LoaderIcon, SlimeState } from './icon/LoaderIcon'; import { Typography } from './Typography'; import { Localized, LocalizedProps, useLocalization } from '@fluent/react'; +function LoadingDots() { + return ( +
+ {[0, 150, 300].map((delay) => ( + + ))} +
+ ); +} + function ButtonContent({ loading, icon, @@ -31,8 +44,8 @@ function ButtonContent({ {children} {loading && ( -
- +
+
)}