convert const function to function

This commit is contained in:
Ren Amamiya
2023-05-10 15:48:24 +07:00
parent ae5ff0c48f
commit 1a30c10806
32 changed files with 87 additions and 79 deletions

View File

@@ -1,6 +1,6 @@
import { CreateViewModal } from '@lume/app/daily/components/views/createModal';
export const Header = () => {
export function Header() {
return (
<div className="flex w-full gap-4">
<button className="from-zinc-90 inline-flex h-11 items-center overflow-hidden border-b border-fuchsia-500 hover:bg-zinc-900">
@@ -42,4 +42,4 @@ export const Header = () => {
<CreateViewModal />
</div>
);
};
}