small change
This commit is contained in:
parent
f310cd79ad
commit
fc66dac933
|
@ -5,6 +5,7 @@ import Modal from "../Modal";
|
||||||
import { useRouter } from "next/router";
|
import { useRouter } from "next/router";
|
||||||
import { AccessToken } from "@prisma/client";
|
import { AccessToken } from "@prisma/client";
|
||||||
import useTokenStore from "@/store/tokens";
|
import useTokenStore from "@/store/tokens";
|
||||||
|
import Button from "../ui/Button";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
onClose: Function;
|
onClose: Function;
|
||||||
|
@ -49,13 +50,10 @@ export default function DeleteTokenModal({ onClose, activeToken }: Props) {
|
||||||
using it.
|
using it.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<button
|
<Button className="ml-auto" intent="destructive" onClick={deleteLink}>
|
||||||
className={`ml-auto btn w-fit text-white flex items-center gap-2 duration-100 bg-red-500 hover:bg-red-400 hover:dark:bg-red-600 cursor-pointer`}
|
|
||||||
onClick={deleteLink}
|
|
||||||
>
|
|
||||||
<i className="bi-trash text-xl" />
|
<i className="bi-trash text-xl" />
|
||||||
Revoke
|
Revoke
|
||||||
</button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
|
|
Ŝarĝante…
Reference in New Issue