Fix more build errors

This commit is contained in:
Darren Clarke 2023-03-15 12:17:43 +00:00
parent 1bdc1e60db
commit 30ce47826f
61 changed files with 1161 additions and 541 deletions

View file

@ -1,11 +1,11 @@
// @ts-nocheck
import { useState } from "react";
import { FC, useState } from "react";
import Head from "next/head";
import { Grid, Button } from "@mui/material";
import { Layout } from "components/Layout";
import Iframe from "react-iframe";
const Leafcutter = () => {
const About: FC = () => {
const [leafcutterURL, setLeafcutterURL] = useState(
"https://lc.digiresilience.org/about"
);
@ -34,4 +34,4 @@ const Leafcutter = () => {
);
};
export default Leafcutter;
export default About;

View file

@ -1,11 +1,11 @@
// @ts-nocheck
import { useState } from "react";
import { FC, useState } from "react";
import Head from "next/head";
import { Grid, Button } from "@mui/material";
import { Layout } from "components/Layout";
import Iframe from "react-iframe";
const Leafcutter = () => {
const Create: FC = () => {
const [leafcutterURL, setLeafcutterURL] = useState(
"https://lc.digiresilience.org/create"
);
@ -34,4 +34,4 @@ const Leafcutter = () => {
);
};
export default Leafcutter;
export default Create;

View file

@ -1,11 +1,11 @@
// @ts-nocheck
import { useState } from "react";
import { FC, useState } from "react";
import Head from "next/head";
import { Grid, Button } from "@mui/material";
import { Layout } from "components/Layout";
import Iframe from "react-iframe";
const Leafcutter = () => {
const FAQ: FC = () => {
const [leafcutterURL, setLeafcutterURL] = useState(
"https://lc.digiresilience.org/faq"
);
@ -34,4 +34,4 @@ const Leafcutter = () => {
);
};
export default Leafcutter;
export default FAQ;

View file

@ -1,11 +1,11 @@
// @ts-nocheck
import { useState } from "react";
import { FC, useState } from "react";
import Head from "next/head";
import { Grid, Button } from "@mui/material";
import { Layout } from "components/Layout";
import Iframe from "react-iframe";
const Leafcutter = () => {
const Leafcutter: FC = () => {
const [leafcutterURL, setLeafcutterURL] = useState(
"https://lc.digiresilience.org"
);

View file

@ -1,11 +1,11 @@
// @ts-nocheck
import { useState } from "react";
import { FC, useState } from "react";
import Head from "next/head";
import { Grid, Button } from "@mui/material";
import { Layout } from "components/Layout";
import Iframe from "react-iframe";
const Leafcutter = () => {
const Trends: FC = () => {
const [leafcutterURL, setLeafcutterURL] = useState(
"https://lc.digiresilience.org/trends"
);
@ -34,4 +34,4 @@ const Leafcutter = () => {
);
};
export default Leafcutter;
export default Trends;