Skip to content

Commit

Permalink
fix event end date
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Dec 19, 2024
1 parent df3d3bf commit 0428ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/pages/homepage/manga.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default function Manga(props: IComic) {
setLineClamp(res > 3 ? 3 : res)
}
}, [])
console.log(props)
return (
<Link
href={width < 1280 ? `/comic/${props.slug}` : `/comic/${props.slug}/chapter/1`}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/events/your-city/submit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function PageContent() {
})
const [IPList, setIPList] = useState([])
useEffect(() => {
if (moment().tz('Asia/Ho_Chi_Minh').isAfter(moment.tz('2025-01-01', 'Asia/Ho_Chi_Minh'))) {
if (moment().tz('Asia/Ho_Chi_Minh').isAfter(moment.tz('2025-01-15', 'Asia/Ho_Chi_Minh'))) {
replace('/events/your-city')
}
}, [])
Expand Down

0 comments on commit 0428ff6

Please sign in to comment.