diff --git a/package.json b/package.json index efdb952..e2770f8 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "react": "^18.2.0", "react-ace": "^10.1.0", "react-dom": "^18.2.0", + "react-head": "^3.4.2", "react-helmet": "^6.1.0", "react-helmet-async": "^1.3.0", "react-icons": "^4.7.1", diff --git a/src/App.jsx b/src/App.jsx index a57f46a..db8edc5 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -11,6 +11,7 @@ import FunctionsBasics from "./Python_Library_Pages/Python_Basics/Introduction-t import PlayGround from "./Python/PlayGround"; + const App = () => { return ( diff --git a/src/Python/PlayGround.jsx b/src/Python/PlayGround.jsx index 26c5e5c..5a5a8ab 100644 --- a/src/Python/PlayGround.jsx +++ b/src/Python/PlayGround.jsx @@ -1,9 +1,11 @@ import React,{ useState } from 'react'; -import { Helmet, HelmetProvider } from 'react-helmet-async'; import Scripts from './Scripts'; import CodeEditor from './CodeEditor'; import "brace/mode/python"; import "brace/theme/monokai"; +import { Helmet, HelmetProvider } from 'react-helmet-async'; + +//error was fixed let logs = []; @@ -37,7 +39,7 @@ const PlayGround = () => { return ( -
+