added slate editor, fixes

This commit is contained in:
lnn0q 2025-05-19 09:42:15 +03:00
parent 1d40d7e15f
commit bc250e73bb
12 changed files with 828 additions and 16 deletions

View file

@ -4,7 +4,7 @@ import { WorkingCardProps, WorkingListCard } from './WorkingListCard';
export function WorkingList({ workingsList }: { workingsList: WorkingCardProps[] }) {
return (
<List.Root variant="plain" gap={4}>
{workingsList.length != 0 ? (
{workingsList.length !== 0 ? (
workingsList.map(workingData => (
<List.Item key={workingData.id}>
<WorkingListCard {...workingData} />