admin(ui): add ability to delete mounts

This commit is contained in:
Matthew Penner 2021-01-09 10:42:13 -07:00
parent 0c7e787d44
commit ef9bdf5cd5
4 changed files with 78 additions and 9 deletions

View file

@ -1,5 +1,3 @@
import LocationDeleteButton from '@/components/admin/locations/LocationDeleteButton';
import NestDeleteButton from '@/components/admin/nests/NestDeleteButton';
import React, { useEffect, useState } from 'react';
import { NavLink, useHistory, useRouteMatch } from 'react-router-dom';
import tw from 'twin.macro';
@ -22,6 +20,7 @@ import AdminTable, { ContentWrapper, NoItems, TableBody, TableHead, TableHeader,
import CopyOnClick from '@/components/elements/CopyOnClick';
import Input from '@/components/elements/Input';
import Label from '@/components/elements/Label';
import NestDeleteButton from '@/components/admin/nests/NestDeleteButton';
interface ctx {
nest: Nest | undefined;