1
This commit is contained in:
@@ -3,16 +3,17 @@
|
||||
import useSubscribeStore from "@/store/subscribe";
|
||||
import Header from "./_components/header";
|
||||
import {useEffect} from "react";
|
||||
import {detectExtension} from "@/utils/extension/detect_extension";
|
||||
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function DashboardLayout({children}: Props) {
|
||||
|
||||
const {init} = useSubscribeStore();
|
||||
useEffect(() => {
|
||||
init();
|
||||
detectExtension()
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user