From 83da88ac549932cb1e1dd19fef26d54823114493 Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Tue, 15 Aug 2023 11:15:19 +1000 Subject: [PATCH] feat: feature/mvp-sprint-1 Added alias tt for thingtime in commander --- remix/app/components/Commander/Commander.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/remix/app/components/Commander/Commander.tsx b/remix/app/components/Commander/Commander.tsx index 921c574..d8941f7 100644 --- a/remix/app/components/Commander/Commander.tsx +++ b/remix/app/components/Commander/Commander.tsx @@ -303,6 +303,7 @@ export const Commander = (props) => { try { // first try to execute literal javscript const fn = `() => { return ${commandValue} }` + const tt = thingtime const evalFn = eval(fn) const realVal = evalFn() setThingtime(commandPath, realVal) @@ -353,6 +354,7 @@ export const Commander = (props) => { commanderActive, commandIsAction, commandPath, + thingtime, commandValue, escapedCommandValue, getThingtime,