mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-18 12:12:43 +00:00
remove logs and unecessary state
This commit is contained in:
@@ -32,11 +32,6 @@ const NotificationAdd = () => {
|
|||||||
}));
|
}));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log('dismissKey: ', dismissKey);
|
|
||||||
console.log('title: ', title);
|
|
||||||
console.log('text: ', text);
|
|
||||||
console.log('startAt: ', startAt);
|
|
||||||
console.log('stopAt: ', stopAt);
|
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
dismissKey,
|
dismissKey,
|
||||||
@@ -69,8 +64,6 @@ const NotificationAdd = () => {
|
|||||||
dismissKeyRef.current.value = '';
|
dismissKeyRef.current.value = '';
|
||||||
titleRef.current.value = '';
|
titleRef.current.value = '';
|
||||||
textRef.current.value = '';
|
textRef.current.value = '';
|
||||||
setStartAt(null);
|
|
||||||
setStopAt(null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setState(prevState => ({
|
setState(prevState => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user