feat(home): add spotlight search functionality
This commit is contained in:
@ -98,3 +98,16 @@ export const slideVariants = {
|
||||
transition: { duration: 0.25 },
|
||||
}),
|
||||
};
|
||||
|
||||
export const formatGroupTitle = (status: string) => {
|
||||
switch (status) {
|
||||
case "IN_PROGRESS":
|
||||
return "In Progress";
|
||||
case "NOT_STARTED":
|
||||
return "Not Started";
|
||||
case "COMPLETED":
|
||||
return "Completed";
|
||||
default:
|
||||
return status;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user