Archived
.
This commit is contained in:
1 parent
6e83ef2753
commit
e027ab3cb0
2 files changed
+1
-3
No files matched your search
@@ -19,7 +19,7 @@ export const EventPreview = (props) => {
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}, [label,color,props.type]);
|
||||
}, [label,color,props.type,props.time]);
|
||||
const getDate = (time) =>{
|
||||
let date = new Date(time);
|
||||
return date.toLocaleDateString(navigator.language)
|
||||
|
||||
@@ -5,9 +5,7 @@ function ShowPopup() {
|
||||
const [timedPopup, setTimedPopup] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
setTimedPopup(true);
|
||||
}, 3000);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user