Skip to content

Commit

Permalink
Revert problematic upgrades (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxue authored Mar 20, 2023
1 parent 7555268 commit 7b3e026
Show file tree
Hide file tree
Showing 6 changed files with 1,399 additions and 149 deletions.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-buster-slim
FROM node:14-buster-slim

LABEL maintainer="Penn Labs"

Expand Down
1 change: 1 addition & 0 deletions frontend/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"libphonenumber-js": "^1.7.56",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"next": "^12.1.0",
"next": "^11.1.2",
"react": "^17.0.2",
"react-apexcharts": "^1.3.7",
"react-code-input": "^3.10.0",
Expand Down
9 changes: 9 additions & 0 deletions frontend/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect } from "react";
import Head from "next/head";
import "semantic-ui-css/semantic.min.css";
import "../styles/index.css";
import { SWRConfig } from "swr";
Expand All @@ -18,6 +19,14 @@ const MyApp = ({ Component, pageProps }) => {
refreshWhenHidden: true,
}}
>
<Head>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
crossOrigin="anonymous"
/>
</Head>
{/* This is necessary for generic HOC */}
{/* eslint-disable-next-line */}
<Component {...pageProps} />
Expand Down
22 changes: 0 additions & 22 deletions frontend/pages/_document.tsx

This file was deleted.

Loading

0 comments on commit 7b3e026

Please sign in to comment.