ui(admin): add role delete button
This commit is contained in:
parent
89a0244cf2
commit
346271a9a3
3 changed files with 76 additions and 17 deletions
|
@ -1,10 +1,10 @@
|
|||
import React, { useState } from 'react';
|
||||
import { Actions, useStoreActions } from 'easy-peasy';
|
||||
import { ApplicationStore } from '@/state';
|
||||
import tw from 'twin.macro';
|
||||
import deleteLocation from '@/api/admin/locations/deleteLocation';
|
||||
import Button from '@/components/elements/Button';
|
||||
import ConfirmationModal from '@/components/elements/ConfirmationModal';
|
||||
import deleteLocation from '@/api/admin/locations/deleteLocation';
|
||||
import { ApplicationStore } from '@/state';
|
||||
|
||||
interface Props {
|
||||
locationId: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue