diff --git a/compass/components/Table/RowOpenAction.tsx b/compass/components/Table/RowOpenAction.tsx index 0279b22..3678630 100644 --- a/compass/components/Table/RowOpenAction.tsx +++ b/compass/components/Table/RowOpenAction.tsx @@ -19,7 +19,6 @@ export function RowOpenAction({ title, rowData, setData }:
{title} - {/* Added OnRowUpdate to drawer */} = { data: T[], diff --git a/compass/utils/models/Resource.ts b/compass/utils/models/Resource.ts index cff24e2..67739a6 100644 --- a/compass/utils/models/Resource.ts +++ b/compass/utils/models/Resource.ts @@ -1,7 +1,6 @@ import { Program } from "./User"; -import DataPoint from "./DataPoint"; -export default interface Resource extends DataPoint { +export default interface Resource { id: number; created_at: Date; name: string; diff --git a/compass/utils/models/Service.ts b/compass/utils/models/Service.ts index 46b1986..f14f81f 100644 --- a/compass/utils/models/Service.ts +++ b/compass/utils/models/Service.ts @@ -1,7 +1,6 @@ import { Program } from "./User"; -import DataPoint from "./DataPoint"; -export default interface Service extends DataPoint { +export default interface Service { id: number; created_at: Date; name: string; diff --git a/compass/utils/models/User.ts b/compass/utils/models/User.ts index 137d430..bdb26cf 100644 --- a/compass/utils/models/User.ts +++ b/compass/utils/models/User.ts @@ -1,5 +1,3 @@ -import DataPoint from "./DataPoint"; - export enum Program { ECONOMIC = "ECONOMIC", DOMESTIC = "DOMESTIC", @@ -12,7 +10,7 @@ export enum Role { VOLUNTEER = "VOLUNTEER", } -export default interface User extends DataPoint { +export default interface User { id: number; uuid: string; username: string;