diff --git a/react-front-end/babel.config.js b/react-front-end/babel.config.js index 04007b8f93..e8ca8aa71e 100644 --- a/react-front-end/babel.config.js +++ b/react-front-end/babel.config.js @@ -1,10 +1,3 @@ module.exports = { - presets: [ - "@babel/preset-env", - "@babel/preset-react" - ], - "transform": { - "^.+\\.jsx?$": "babel-jest" - } - + presets: ["@babel/preset-env", "@babel/preset-react"], }; diff --git a/react-front-end/src/components/header.js b/react-front-end/src/components/header.js index 94a6481bf5..deff75e807 100644 --- a/react-front-end/src/components/header.js +++ b/react-front-end/src/components/header.js @@ -9,7 +9,7 @@ import SoundOff from "../asset/Sound_off.png"; import { AppContext } from './AppContext'; import "../style/header.css"; -function header(props) { +function Header(props) { const { state, toggleMute } = useContext(AppContext) @@ -83,10 +83,10 @@ function header(props) { else { return ( -
Time taken to complete the quiz: {formatTime()}
+