commit c0ef8c3d235e316878cc5652e537b19b739c706e parent 8920ea9c5410aad7bb06ca57147d7d759fc56c8a Author: Florian Dold <florian@dold.me> Date: Thu, 10 Feb 2022 20:15:44 +0100 fix type error Diffstat:
| M | packages/anastasis-webui/src/utils/index.tsx | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/packages/anastasis-webui/src/utils/index.tsx b/packages/anastasis-webui/src/utils/index.tsx @@ -39,6 +39,12 @@ export function createExample<Props>( transition: async () => { null; }, + exportState: () => { + return "{}"; + }, + importState(s: string) { + /* do nothing */ + }, }} > <Component {...args} />