website/src/views/layout/Footer.tsx
Function FooterComponent
has 82 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const FooterComponent: React.FC<Props> = (props) => {
// Try catch because of Chrome crashing on calling toLocaleString with no parameter
// See https://sentry.io/nusmods/v3/issues/434084130/
let lastUpdatedText = 'Loading data...';
if (props.lastUpdatedDate) {