chore: enable disable logging

This commit is contained in:
Sebastian Velez
2023-01-16 14:21:47 -05:00
parent 949fff2cf7
commit ca5f25c4a3
11 changed files with 121 additions and 113 deletions

View File

@@ -14,13 +14,8 @@ const root = createRoot(container!);
const store = createStore('WakaTime-Options');
checkCurrentUser(store)(30 * 1000);
const openOptions = async (): Promise<void> => {
await browser.runtime.openOptionsPage();
};
root.render(
<Provider store={store}>
<WakaTime />
<div onClick={openOptions}>Open options</div>
</Provider>,
);