diff options
author | Florian Dold <florian@dold.me> | 2022-02-10 20:15:44 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-02-10 20:15:44 +0100 |
commit | c0ef8c3d235e316878cc5652e537b19b739c706e (patch) | |
tree | b717f0d6fc1a430cc8cf923e6eae97b9db1c1706 /packages/anastasis-webui | |
parent | 8920ea9c5410aad7bb06ca57147d7d759fc56c8a (diff) |
fix type error
Diffstat (limited to 'packages/anastasis-webui')
-rw-r--r-- | packages/anastasis-webui/src/utils/index.tsx | 6 |
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} /> |