chore: application prettier

This commit is contained in:
Luc SORIGNET
2025-04-15 19:37:47 +02:00
parent dd0884bbce
commit f7666c894b
174 changed files with 10609 additions and 8760 deletions

View File

@ -6,7 +6,7 @@ const ToggleView = ({ viewType, setViewType }) => {
{ type: 'week', label: 'Semaine', icon: CalendarDays },
{ type: 'month', label: 'Mois', icon: Calendar },
{ type: 'year', label: 'Année', icon: CalendarRange },
{ type: 'planning', label: 'Planning', icon: List }
{ type: 'planning', label: 'Planning', icon: List },
];
return (
@ -17,9 +17,10 @@ const ToggleView = ({ viewType, setViewType }) => {
onClick={() => setViewType(type)}
className={`
flex items-center gap-2 px-3 py-1.5 rounded-md transition-all
${viewType === type
? 'bg-emerald-600 text-white shadow-sm'
: 'text-gray-600 hover:bg-gray-200'
${
viewType === type
? 'bg-emerald-600 text-white shadow-sm'
: 'text-gray-600 hover:bg-gray-200'
}
`}
>
@ -31,4 +32,4 @@ const ToggleView = ({ viewType, setViewType }) => {
);
};
export default ToggleView;
export default ToggleView;