Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linting fix #1135

Merged
merged 2 commits into from
Sep 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions static/js/redux/ui/Semesterly.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const Semesterly = () => {
"November",
"December",
];

const curDay: number = curDate.getDate();
const dateEnding: string = dayToDayEnding(curDay);
const monthIndex: number = curDate.getMonth();
Expand All @@ -182,7 +182,7 @@ const Semesterly = () => {
default:
return "th";
}
}
};

const mobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
navigator.userAgent
Expand Down Expand Up @@ -220,8 +220,7 @@ const Semesterly = () => {
{cal}
<footer className="timetable-footer navbar no-print">
<p className="data-last-updated no-print">
Data last updated:{" "}
{toLocalDate()}
Data last updated: {toLocalDate()}
</p>
<ul className="nav nav-pills no-print">
<li className="footer-button" role="presentation">
Expand Down
Loading