mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-22 23:48:26 -04:00
* actually fix the weird lint errors * Prettier auto-format --------- Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com> Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
9 lines
329 B
TypeScript
9 lines
329 B
TypeScript
import { CheckCircle } from '@phosphor-icons/react';
|
|
import { Loader } from '@sd/ui';
|
|
import { useLibraryQuery } from '~/../packages/client/src';
|
|
|
|
export default () => {
|
|
const { data: isActive } = useLibraryQuery(['jobs.isActive']);
|
|
return isActive ? <Loader className="size-[20px]" /> : <CheckCircle className="size-5" />;
|
|
};
|