From a7729d519582505f001d8247d3f8273d409f6719 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 18 Dec 2023 22:54:34 -0500 Subject: moved assets into public directory for now. fixed infoState to use gif --- .../collectionFreeForm/CollectionFreeFormInfoState.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/client') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx index 35833ab23..524869e6d 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormInfoState.tsx @@ -24,6 +24,7 @@ export class infoState { this[StateMessage] = message; Object.assign(this, arcs); this[StateEntryFunc] = entryFunc; + this[StateMessageGIF] = messageGif; } } @@ -40,7 +41,7 @@ export function InfoState( msg: string, // arcs: { [key: string]: infoArc }, entryFunc?: () => any, - gif?: string, + gif?: string ) { return new infoState(msg, arcs, entryFunc, gif); } @@ -96,13 +97,14 @@ export class CollectionFreeFormInfoState extends ObservableReactComponent -
- state message gif +
+ state message gif
{/* state message gif */} {/* */} {this.State?.[StateMessage]} -
) + + ); } } -- cgit v1.2.3-70-g09d2