aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-02-10 20:15:44 +0100
committerFlorian Dold <florian@dold.me>2022-02-10 20:15:44 +0100
commitc0ef8c3d235e316878cc5652e537b19b739c706e (patch)
treeb717f0d6fc1a430cc8cf923e6eae97b9db1c1706 /packages
parent8920ea9c5410aad7bb06ca57147d7d759fc56c8a (diff)
fix type error
Diffstat (limited to 'packages')
-rw-r--r--packages/anastasis-webui/src/utils/index.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/anastasis-webui/src/utils/index.tsx b/packages/anastasis-webui/src/utils/index.tsx
index 7ddeefef4..2209fd974 100644
--- 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} />