remove console.logs
This commit is contained in:
parent
4a9131a562
commit
fcb6d135ee
@ -91,7 +91,6 @@ export async function GET(request: Request): Promise<Response> {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
|
||||||
// the specific error message depends on the provider
|
// the specific error message depends on the provider
|
||||||
if (e instanceof OAuth2RequestError) {
|
if (e instanceof OAuth2RequestError) {
|
||||||
// invalid code
|
// invalid code
|
||||||
|
@ -20,8 +20,6 @@ export function Countdown(props: CountdownProps) {
|
|||||||
return <>...</>;
|
return <>...</>;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
const days = Math.floor(data.remainingTime / (1000 * 60 * 60 * 24));
|
const days = Math.floor(data.remainingTime / (1000 * 60 * 60 * 24));
|
||||||
const hours = Math.floor((data.remainingTime % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
const hours = Math.floor((data.remainingTime % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
const minutes = Math.floor((data.remainingTime % (1000 * 60 * 60)) / (1000 * 60));
|
const minutes = Math.floor((data.remainingTime % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user