Skip to content

Commit 18a0342

Browse files
authored
Update ApplicationContext.tsx
1 parent 37ad184 commit 18a0342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/context/ApplicationContext.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const ApplicationContextProvider: React.FC<AppContextProps> = React.memo(props =
6060
* @params application - is the name of the card taht was clicked on
6161
*/
6262
const connectToDB = useCallback((username: string, index: number, application: string, URI: string, databaseType: string) => {
63-
// console.log('Hi, inside ApplicationContext, connectToDB function was invoked.');
63+
console.log('Hi, inside ApplicationContext, connectToDB function was invoked.');
6464
ipcRenderer.removeAllListeners('databaseConnected');
6565
ipcRenderer.send('connect', username, index, URI, databaseType);
6666
ipcRenderer.on('databaseConnected', (event: Electron.Event, data: any) => {
@@ -130,4 +130,4 @@ export default ApplicationContextProvider;
130130
// console.log({ error: e });
131131
// }
132132
// return false;
133-
// }
133+
// }

0 commit comments

Comments
 (0)