diff --git a/plugins/lime-plugin-mesh-wide/src/meshWidePage.tsx b/plugins/lime-plugin-mesh-wide/src/meshWidePage.tsx index bf2fb0a9..27e368f2 100644 --- a/plugins/lime-plugin-mesh-wide/src/meshWidePage.tsx +++ b/plugins/lime-plugin-mesh-wide/src/meshWidePage.tsx @@ -1,8 +1,6 @@ import { Trans } from "@lingui/macro"; -import { route } from "preact-router"; import React from "react"; -import FloatingButton from "components/buttons/floatting-button"; import Loading from "components/loading"; import { useLoadLeaflet } from "plugins/lime-plugin-locate/src/locateQueries"; @@ -48,7 +46,6 @@ const MeshWide = () => { - route("/meshwide/config")} /> ); }; diff --git a/src/components/buttons/floatting-button.tsx b/src/components/buttons/floatting-button.tsx deleted file mode 100644 index aac72bae..00000000 --- a/src/components/buttons/floatting-button.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import { ComponentChildren } from "preact"; -import React from "react"; - -import { Button, ButtonProps } from "components/buttons/button"; - -interface FloatingButtonProps { - children?: ComponentChildren | string; -} - -const FloatingButton = ({ - size = "sm", - children = "+", - ...rest -}: FloatingButtonProps & ButtonProps) => { - return ( -
- -
- ); -}; - -export default FloatingButton;