new close buttons

closes https://github.com/v0l/snort/pull/577
This commit is contained in:
2023-12-14 12:15:06 +00:00
parent 27f6597f88
commit 444b7b5379
7 changed files with 36 additions and 20 deletions

View File

@ -2,7 +2,6 @@ import "./Layout.css";
import { useCallback } from "react";
import { Outlet, useLocation } from "react-router-dom";
import Icon from "@/Icons/Icon";
import useLogin from "@/Hooks/useLogin";
import { isFormElement } from "@/SnortUtils";
import Toaster from "@/Toaster";
@ -66,9 +65,7 @@ export default function Index() {
function StalkerModal({ id }) {
return (
<div className="stalker" onClick={() => LoginStore.removeSession(id)}>
<button type="button" className="circle flex items-center">
<Icon name="close" />
</button>
<div className="close-button circle flex items-center"></div>
</div>
);
}