Skip to content

Commit

Permalink
adapting TutorialPage and FE lib updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelebarre committed Nov 18, 2024
1 parent 6099ea9 commit 68f7d67
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 14 deletions.
28 changes: 27 additions & 1 deletion frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,36 @@
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.5",
"@react-pdf/renderer": "^4.0.0",
"@mui/icons-material": "^6.1.7",
"@mui/material": "^6.1.7",
"@react-pdf/renderer": "^4.1.4",
"axios": "^1.7.7",
"file-saver": "^2.0.5",
"framer-motion": "^11.11.17",
"pdf-lib": "^1.17.1",
"pdfjs-dist": "^4.7.76",
"pdfjs-dist": "^4.8.69",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-draggable": "^4.4.6",
"react-pdf": "^9.1.1",
"react-pdf-highlighter": "^8.0.0-rc.0",
"react-player": "^2.16.0",
"react-resizable": "^3.0.5",
"react-router-dom": "^6.27.0"
"react-router-dom": "^6.28.0"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@eslint/js": "^9.15.0",
"@types/file-saver": "^2.0.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-resizable": "^3.0.8",
"@vitejs/plugin-react": "^4.3.3",
"eslint": "^9.13.0",
"eslint": "^9.15.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.11.0",
"globals": "^15.12.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.2",
"vite": "^5.4.10"
"typescript-eslint": "^8.14.0",
"vite": "^5.4.11"
}
}
5 changes: 2 additions & 3 deletions frontend/src/pages/TutorialPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { useParams } from "react-router-dom";
import { Container, Typography, Box } from "@mui/material";
import { Container, Typography } from "@mui/material";
import TutorialPlayer from "../components/TutorialPlayer/TutorialPlayer";
// import { apiBaseUrl } from "../api/api";
const TutorialPage: React.FC = () => {
Expand All @@ -12,11 +12,10 @@ const TutorialPage: React.FC = () => {
{fileName}
</Typography>

<Box mb={2}>
<TutorialPlayer
fileName={`${fileName}`}
/>
</Box>

</Container>
);
};
Expand Down

0 comments on commit 68f7d67

Please sign in to comment.