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

This commit is contained in:
Sidney 2026-07-19 23:02:52 -03:00
parent 99bfca0072
commit 1039c90c8f
1 changed files with 1 additions and 1 deletions

View File

@ -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