mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Update Home.jsx
This commit is contained in:
parent
3aabe2874e
commit
d4e9e74653
1 changed files with 1 additions and 2 deletions
|
@ -72,9 +72,8 @@ function Home() {
|
|||
}
|
||||
const handleSubmit = async (event) => {
|
||||
event.preventDefault();
|
||||
let input = parseInt(inputValue.trim());
|
||||
let time = Math.round((new Date(inputValue.trim()).getTime() + 70000) / 1000);
|
||||
if (input === -1) {
|
||||
if (inputValue.trim() === "-1") {
|
||||
time = 1711741114;
|
||||
}
|
||||
if (time < 0 || isNaN(time)) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue