diff options
author | bobzel <zzzman@gmail.com> | 2023-12-06 23:02:15 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-06 23:02:15 -0500 |
commit | 8b100971135c0edaa6623bf0c8529ea4e0b8f5bf (patch) | |
tree | c8ebe343c19df4c284708f9ff2901ff9d5a8e7cc /src | |
parent | 6b87d29d668f290f53ca5109b9922663302e0eb2 (diff) |
final cleanup of infoStates for now.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx | 12 |
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; |