"use client"; import type { ShiftEntity } from "@/lib/types"; import type { ShiftCardProps } from "./ShiftCard.types"; function formatWage(wage: number): string { if (wage >= 1000) { return `${(wage / 1000).toFixed(0)}k`; } return wage.toLocaleString("vi-VN"); } export default function ShiftCard({ shift, compact = false, onClick, }: ShiftCardProps) { console.log(shift); if (compact) { return ( ); } return ( ); }