This commit is contained in:
talksik
2022-03-18 18:14:06 -04:00
parent 2d14521004
commit b5a5c9b644
2 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
{ {
"name": "desktop2", "name": "@nirvana/desktop",
"productName": "desktop2", "productName": "nirvana",
"version": "1.0.0", "version": "1.0.0",
"description": "My Electron application description", "description": "Walkie Talkie for Remote Teams",
"main": ".webpack/main", "main": ".webpack/main",
"scripts": { "scripts": {
"start": "electron-forge start", "start": "electron-forge start",
+2 -1
View File
@@ -37,8 +37,9 @@ export default function Login({ onReady }: { onReady: Function }) {
}; };
useEffect(() => { useEffect(() => {
// todo make sure we don't loop flash when id token expires for user
// hack for now log out in this case // hack for now log out in this case
logOut(); // logOut();
// see if we have tokens in localstorage in which case we can continue on // see if we have tokens in localstorage in which case we can continue on
window.electronAPI.store window.electronAPI.store