aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx
index 55750a283..9090d0ea5 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx
@@ -7,14 +7,10 @@ export type infoArc = {
events: () => any;
actions: (arg?: any) => any;
};
-export class infoState {
- Message: string = '';
- Arcs: infoArc[] = [];
- constructor(message: string, arcs: infoArc[]) {
- this.Message = message;
- this.Arcs = arcs;
- }
-}
+export type infoState = {
+ Message: string;
+ Arcs: infoArc[];
+};
export interface CollectionFreeFormInfoStateProps {
state: infoState;