summaryrefslogtreecommitdiff
path: root/admin/src/pages/UpdateRequests/UpdateRequests.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'admin/src/pages/UpdateRequests/UpdateRequests.jsx')
-rw-r--r--admin/src/pages/UpdateRequests/UpdateRequests.jsx22
1 files changed, 12 insertions, 10 deletions
diff --git a/admin/src/pages/UpdateRequests/UpdateRequests.jsx b/admin/src/pages/UpdateRequests/UpdateRequests.jsx
index 07b3579..91629bd 100644
--- a/admin/src/pages/UpdateRequests/UpdateRequests.jsx
+++ b/admin/src/pages/UpdateRequests/UpdateRequests.jsx
@@ -49,16 +49,18 @@ const UpdateRequests = () => {
data?.data.map((item) => (
<div className={styles.unverified_users__accordion} key={item._id}>
<Accordion name={item.name} user={item} />
- <Button
- title='Accept'
- color='green'
- onClick={() => updateUse.mutate(item._id)}
- />
- <Button
- title='Reject'
- color='red'
- onClick={() => deleteUse.mutate(item._id)}
- />
+ <div>
+ <Button
+ title='Accept'
+ color='green'
+ onClick={() => updateUse.mutate(item._id)}
+ />
+ <Button
+ title='Reject'
+ color='red'
+ onClick={() => deleteUse.mutate(item._id)}
+ />
+ </div>
</div>
))
) : (