From 7380f352dff8618e2fe6f1229287a369fd639a72 Mon Sep 17 00:00:00 2001 From: Akash A Benki Date: Fri, 1 Oct 2021 18:59:51 +0530 Subject: [PATCH 1/2] Changed app.jsx --- src/components/App/App.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 0a67737..01963a4 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -19,7 +19,7 @@ import "./App.css"; * ] */ -const TotalTime = 60; +const TotalTime = 3; const DefaultState = { selectedParagraph: "Hello World!", testInfo: [], @@ -62,6 +62,8 @@ class App extends React.Component { selectedParagraph: data, testInfo, }); + + window.scrollTo(0,0); }; fetchNewParagraph = () => { From 89de22f951fce8e63d19bcd24a44b49115838c74 Mon Sep 17 00:00:00 2001 From: Akash A Benki Date: Fri, 1 Oct 2021 19:02:29 +0530 Subject: [PATCH 2/2] Changed Time in App.jsx --- src/components/App/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 01963a4..6b39931 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -19,7 +19,7 @@ import "./App.css"; * ] */ -const TotalTime = 3; +const TotalTime = 60; const DefaultState = { selectedParagraph: "Hello World!", testInfo: [],