From 3e132ecfba4fa9b3a91a66ee7e91800bf6bf04b9 Mon Sep 17 00:00:00 2001 From: ospfranco Date: Sun, 12 May 2024 09:00:53 +0200 Subject: [PATCH] Fix app.tsx --- example/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/App.tsx b/example/src/App.tsx index 2abe1d20..682aac4c 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -80,7 +80,7 @@ export default function App() { }; const openAssetsDb = async () => { - const moved = moveAssetsDatabase('sample', 'sqlite'); + const moved = await moveAssetsDatabase({filename: 'sample.sqlite'}); console.log('moved', moved); const db = open({name: 'sample.sqlite'}); const users = db.execute('SELECT * FROM User');