sample db handling

This commit is contained in:
Sung-Hyun Kang
2024-06-17 12:30:28 -05:00
parent edfd6cfc30
commit ac8dbbc0d2
5 changed files with 72 additions and 17 deletions

View File

@@ -11,6 +11,7 @@ function log(type: ConsoleDataType, message: string): () => void {
}).format(new Date());
useNotificationConsole.getState().setNotificationConsoleData({ type, date, message, id });
console.log(message, id);
return () => useNotificationConsole.getState().setInProgressConsoleDataIdToBeDeleted(id);
}