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

@ -1,4 +1,4 @@
'use client'
'use client';
import React, { useState, useEffect } from 'react';
import { useRouter } from 'next/navigation';
import ProfileSelector from '@/components/ProfileSelector';
@ -7,7 +7,9 @@ const SidebarItem = ({ icon: Icon, text, active, url, onClick }) => (
<div
onClick={onClick}
className={`flex items-center gap-3 px-2 py-2 rounded-md cursor-pointer ${
active ? 'bg-emerald-50 text-emerald-600' : 'text-gray-600 hover:bg-gray-50'
active
? 'bg-emerald-50 text-emerald-600'
: 'text-gray-600 hover:bg-gray-50'
}`}
>
<Icon size={20} />
@ -56,4 +58,4 @@ function Sidebar({ currentPage, items, onCloseMobile, onEstablishmentChange }) {
);
}
export default Sidebar;
export default Sidebar;