fix(practice-sheets); fix practice sheets not showing up in all category
This commit is contained in:
@ -1,6 +1,19 @@
|
||||
import { clsx, type ClassValue } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
import { clsx, type ClassValue } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
export function formatStatus(status: string) {
|
||||
switch (status) {
|
||||
case "NOT_STARTED":
|
||||
return "Not Started";
|
||||
case "IN_PROGRESS":
|
||||
return "In Progress";
|
||||
case "COMPLETED":
|
||||
return "Completed";
|
||||
default:
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user