Implement safe crypto
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
"use client";
|
||||
import { usePannelStore } from "_store/pannelStore";
|
||||
import { cn } from "helpers/cn";
|
||||
|
||||
export const OpenButton = () => {
|
||||
const { setOpen, isOpen } = usePannelStore();
|
||||
return (
|
||||
<button
|
||||
onClick={() => {
|
||||
setOpen(true);
|
||||
}}
|
||||
className={cn(
|
||||
"btn rounded-r-none absolute inset-y-2.5 right-0 z-999999 transition-all duration-500 ease",
|
||||
isOpen && "transform translate-x-full",
|
||||
)}
|
||||
>
|
||||
Neuer Einsatz
|
||||
</button>
|
||||
);
|
||||
};
|
||||
@@ -1,6 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { OpenButton } from "dispatch/_components/pannel/OpenButton";
|
||||
import { Pannel } from "dispatch/_components/pannel/Pannel";
|
||||
import { usePannelStore } from "_store/pannelStore";
|
||||
import { cn } from "helpers/cn";
|
||||
@@ -13,7 +12,6 @@ const DispatchPage = () => {
|
||||
<div className="relative flex-1 flex transition-all duration-500 ease w-full">
|
||||
{/* <MapToastCard2 /> */}
|
||||
<div className="flex flex-1 relative">
|
||||
<OpenButton />
|
||||
<Map />
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user