fix: correcao do tipo array do useState em Settings.tsx para compilacao do docker build
Build and Deploy (Gitea Actions) / build-and-deploy (push) Successful in 2m41s
Details
Build and Deploy (Gitea Actions) / build-and-deploy (push) Successful in 2m41s
Details
This commit is contained in:
parent
99bfca0072
commit
1039c90c8f
|
|
@ -67,7 +67,7 @@ export default function Settings() {
|
|||
// Custom Schedules per day & per professional
|
||||
const [professionals, setProfessionals] = useState<any[]>([]);
|
||||
const [selectedProfId, setSelectedProfId] = useState<string>('all');
|
||||
const [dailySchedules, setDailySchedules] = useState<{ active: boolean; shifts: { start: string; end: string }[] }>([
|
||||
const [dailySchedules, setDailySchedules] = useState<{ active: boolean; shifts: { start: string; end: string }[] }[]>([
|
||||
{ active: false, shifts: [{ start: '09:00', end: '18:00' }] }, // Dom
|
||||
{ active: true, shifts: [{ start: '08:00', end: '12:00' }, { start: '13:00', end: '18:00' }] }, // Seg
|
||||
{ active: true, shifts: [{ start: '08:00', end: '12:00' }, { start: '13:00', end: '18:00' }] }, // Ter
|
||||
|
|
|
|||
Loading…
Reference in New Issue