Save responses in DB

This commit is contained in:
Gregory Schier
2023-02-22 18:53:44 -08:00
parent 31eb03da0d
commit fbcbf2e5a5
9 changed files with 530 additions and 138 deletions

View File

@@ -4,11 +4,13 @@ import App from './App';
import { HelmetProvider } from 'react-helmet-async';
import { MotionConfig } from 'framer-motion';
import init, { greet } from 'hello';
import { invoke } from '@tauri-apps/api'
import './main.css';
await init();
greet();
await invoke('load_db');
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>