admin(ui): add ability to delete locations
This commit is contained in:
parent
a91cb578d7
commit
9ec6068f45
3 changed files with 78 additions and 5 deletions
|
@ -14,6 +14,7 @@ interface Props {
|
|||
export default ({ databaseId, onDeleted }: Props) => {
|
||||
const [ visible, setVisible ] = useState(false);
|
||||
const [ loading, setLoading ] = useState(false);
|
||||
|
||||
const { clearFlashes, clearAndAddHttpError } = useStoreActions((actions: Actions<ApplicationStore>) => actions.flashes);
|
||||
|
||||
const onDelete = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue