Finalize equipment instances list page

This commit is contained in:
Keannu Christian Bernasol 2023-12-02 22:04:46 +08:00
parent a94831fbe1
commit f6a1810740
3 changed files with 132 additions and 2 deletions

View file

@ -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,

View file

@ -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>;