Describe the bug
The DataTable library is being used inside the adminTable component. This library has caused issues in the past. It needs to be removed and replaced with useTable from react.
To Reproduce
Steps to reproduce the behavior:
Go to '../components/adminTable.js'
Remove line 2, and replace it with import { useTable } from 'react-table'
Scroll down to line 5. Update the rest of the code to work with useTable, and render.
Additional context
The library useTable has been used in the past inside '../components/dashtable_v2.js'. Refer to this file for example.
Describe the bug The DataTable library is being used inside the adminTable component. This library has caused issues in the past. It needs to be removed and replaced with useTable from react.
To Reproduce Steps to reproduce the behavior:
import { useTable } from 'react-table'
Additional context The library useTable has been used in the past inside '../components/dashtable_v2.js'. Refer to this file for example.