Skip to content

Commit

Permalink
fix for production build
Browse files Browse the repository at this point in the history
  • Loading branch information
medzernik committed Feb 8, 2023
1 parent 16fea7b commit d7952d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { attachConsole } from 'tauri-plugin-log';


// with LogTarget::Webview enabled this function will print logs to the browser console
const detach = await attachConsole();
attachConsole();


ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
Expand Down

0 comments on commit d7952d0

Please sign in to comment.