Skip to content

Commit 7b3e026

Browse files
authored
Revert problematic upgrades (#259)
1 parent 7555268 commit 7b3e026

File tree

6 files changed

+1399
-149
lines changed

6 files changed

+1399
-149
lines changed

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-buster-slim
1+
FROM node:14-buster-slim
22

33
LABEL maintainer="Penn Labs"
44

frontend/next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// <reference types="next" />
2+
/// <reference types="next/types/global" />
23
/// <reference types="next/image-types/global" />
34

45
// NOTE: This file should not be edited

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"libphonenumber-js": "^1.7.56",
2828
"lodash": "^4.17.21",
2929
"moment": "^2.29.4",
30-
"next": "^12.1.0",
30+
"next": "^11.1.2",
3131
"react": "^17.0.2",
3232
"react-apexcharts": "^1.3.7",
3333
"react-code-input": "^3.10.0",

frontend/pages/_app.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { useEffect } from "react";
2+
import Head from "next/head";
23
import "semantic-ui-css/semantic.min.css";
34
import "../styles/index.css";
45
import { SWRConfig } from "swr";
@@ -18,6 +19,14 @@ const MyApp = ({ Component, pageProps }) => {
1819
refreshWhenHidden: true,
1920
}}
2021
>
22+
<Head>
23+
<link
24+
rel="stylesheet"
25+
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
26+
integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
27+
crossOrigin="anonymous"
28+
/>
29+
</Head>
2130
{/* This is necessary for generic HOC */}
2231
{/* eslint-disable-next-line */}
2332
<Component {...pageProps} />

frontend/pages/_document.tsx

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)