feat(components): use arrow function
This commit is contained in:
parent
9e7e1d76a2
commit
90f9edea95
4 changed files with 11 additions and 11 deletions
|
@ -10,11 +10,11 @@ import { Dialog, Transition } from '@headlessui/react';
|
|||
import SettingsDialog from './SettingsDialog';
|
||||
import { ThemeSwitcher } from './theme/Switcher';
|
||||
|
||||
function VerticalIconContainer({ children }: { children: ReactNode }) {
|
||||
const VerticalIconContainer = ({ children }: { children: ReactNode }) => {
|
||||
return (
|
||||
<div className="flex flex-col items-center gap-y-3 w-full">{children}</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
const Sidebar = ({ children }: { children: React.ReactNode }) => {
|
||||
const segments = useSelectedLayoutSegments();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue