mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2025-05-18 20:38:14 +08:00
Finalize equipment instances list page
This commit is contained in:
parent
a94831fbe1
commit
f6a1810740
3 changed files with 132 additions and 2 deletions
|
@ -36,7 +36,6 @@ export default function Revalidator() {
|
|||
JWTRefreshAPI().then(async (response) => {
|
||||
if (response) {
|
||||
await dispatch(auth_toggle());
|
||||
navigate("/dashboard");
|
||||
toast("User session restored", {
|
||||
position: "top-right",
|
||||
autoClose: 2000,
|
||||
|
|
|
@ -48,11 +48,13 @@ export type AddEquipmentInstanceType = {
|
|||
export type EquipmentInstanceType = {
|
||||
id: number;
|
||||
equipment: string;
|
||||
equipment_name: string;
|
||||
status: string;
|
||||
remarks: string;
|
||||
last_updated: string;
|
||||
last_updated_by: string;
|
||||
date_added: string;
|
||||
category: string;
|
||||
};
|
||||
|
||||
export type EquipmentInstanceListType = Array<EquipmentInstanceType>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue