forked from newthuhole/hole_thu_frontend
fix easter egg
This commit is contained in:
@@ -154,7 +154,7 @@ class ControlBar extends PureComponent {
|
||||
|
||||
export function Title(props) {
|
||||
let date=new Date();
|
||||
let is_eriri_birthday=date.getMonth()===3 && date.getDate()===20;
|
||||
let is_eriri_birthday=(1+date.getMonth())===3 && date.getDate()===20;
|
||||
|
||||
return (
|
||||
<div className="title-bar">
|
||||
|
||||
Reference in New Issue
Block a user