Skip to content

Commit

Permalink
Fix app.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed May 12, 2024
1 parent c4a3337 commit 3e132ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 3e132ec

Please sign in to comment.