diff --git a/next-env.d.ts b/next-env.d.ts
index fd36f949..4f11a03d 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,6 +1,5 @@
///
///
-///
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/pages/index.js b/pages/index.js
index faf7909d..e4911370 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -74,12 +74,8 @@ return (
-const cards = [1, 2, 3, 4, 5, 6, 7, 8, 9];
-
-// const theme = createTheme();
-
export default function Home() {
- // const theme = useTheme();
+
const [padList, setPadList] = useState(0);
const [refreshToken, setRefreshToken] = useState(Math.random());
@@ -88,7 +84,6 @@ export default function Home() {
.then((res) => res.json())
.then(data => {
setPadList(data.pads)
- // console.log('data : ', data )
})
.catch(error => {
console.log(error)
@@ -156,109 +151,13 @@ export default function Home() {
- {/*
- {cards.map((card) => (
-
-
-
-
-
- Heading
-
-
- This is a media card. You can use this section to describe the
- content.
-
-
-
-
-
-
-
-
- ))}
- */}
{/* Footer */}
- {/*
- Footer
-
-
- Something here to give the footer a purpose!
- */}
{/* End footer */}
);
-}
-
-
-
-
-
-
-
-
-// export default function () {
-// const [padList, setPadList] = useState(0);
-// const [refreshToken, setRefreshToken] = useState(Math.random());
-
-// useEffect(() => {
-// fetch(`/api/etherpad/listAllPads`)
-// .then((res) => res.json())
-// .then(data => {
-// setPadList(data.pads)
-// // console.log('data : ', data )
-// })
-// .catch(error => {
-// console.log(error)
-// })
-// .finally(() => {
-// setTimeout(() => setRefreshToken(Math.random()), 5000);
-// });
-
-// }, [refreshToken]);
-
-
-// return (
-// <>
-
-//
-// {padList ? (
-// <>
-
-
-// Available pads from Etherpad:
-//
-//
Presentations
-// {
-// padList.map((pad, i) => (
-//
-// {pad}
-//
-// ))
-// }
-// >
-// ) : 'Etherpad is not running'
-// }
-// >
-// )
-// }
\ No newline at end of file
+}
\ No newline at end of file