mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
npm build
This commit is contained in:
parent
c8d38c11d5
commit
862fcb0f19
1 changed files with 2 additions and 2 deletions
|
|
@ -60,12 +60,12 @@ export default function TaskList({
|
|||
|
||||
// Get unique statuses and services for filter options
|
||||
const uniqueStatuses = useMemo(
|
||||
() => [...new Set(tasks.map((t) => t.status))].sort(),
|
||||
() => Array.from(new Set(tasks.map((t) => t.status))).sort(),
|
||||
[tasks]
|
||||
);
|
||||
const uniqueServices = useMemo(
|
||||
() =>
|
||||
[...new Set(tasks.map((t) => t.service).filter(Boolean))].sort() as string[],
|
||||
Array.from(new Set(tasks.map((t) => t.service).filter(Boolean))).sort() as string[],
|
||||
[tasks]
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue