fix: Upload image

Deskripsi:
- Upload image job di arahkan ke storage server
## No Issue
This commit is contained in:
2024-09-13 16:12:42 +08:00
parent 3b7e9977f6
commit 370e3ec4e4
55 changed files with 1326 additions and 877 deletions

View File

@@ -1,16 +1,20 @@
import MqttLoader from "@/util/mqtt_loader";
import RootStyleRegistry from "./emotion";
import { Container } from "@mantine/core";
import './globals.css'
import "./globals.css";
import { TokenProvider } from "./lib/token";
const token = process.env.WS_APIKEY;
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
if (!token) return <>require token</>;
return (
<RootStyleRegistry>
<MqttLoader />
<TokenProvider token={token} />
{children}
</RootStyleRegistry>
);