Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit c4c8525

Browse files
committed
merged with review (redux branch)
1 parent 4328c74 commit c4c8525

File tree

3 files changed

+63
-5
lines changed

3 files changed

+63
-5
lines changed

webapp_frontend/package-lock.json

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webapp_frontend/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@
1212
"@types/react": "^16.9.51",
1313
"@types/react-bootstrap": "^0.32.24",
1414
"@types/react-dom": "^16.9.8",
15-
"@types/react-router-dom": "^5.1.6",
1615
"@types/react-redux": "^7.1.11",
16+
"@types/react-router-dom": "^5.1.6",
1717
"axios": "^0.20.0",
1818
"bootstrap": "^4.5.3",
1919
"node-sass": "^4.14.1",
2020
"react": "^16.13.1",
2121
"react-bootstrap": "^1.4.0",
2222
"react-dom": "^16.13.1",
23-
"react-router-dom": "^5.2.0",
2423
"react-redux": "^7.2.2",
24+
"react-router-dom": "^5.2.0",
2525
"react-scripts": "3.4.3",
2626
"react-toastify": "^6.1.0",
2727
"redux": "^4.0.5",
28+
"redux-types": "^2.0.3",
2829
"typescript": "^3.8.3"
2930
},
3031
"scripts": {

webapp_frontend/src/components/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, {ReactElement} from 'react';
1+
import React, {ReactElement, useEffect, useState} from 'react';
22
import './App.css';
33
import {Container} from 'react-bootstrap';
44
import Header from "./basicElements/Header";
@@ -7,8 +7,7 @@ import {BrowserRouter} from "react-router-dom";
77
import Router from "./Router/Router";
88
import PermanentAssets from "./basicElements/PermanentAssets";
99

10-
function App(): ReactElement {
11-
import React, {ReactElement, useEffect, useState} from 'react';
10+
1211
import {connect, ConnectedProps} from 'react-redux'
1312
import {addAccessToken, addRefreshToken} from "../background/redux/actions/tokens";
1413
import {SystemState} from "../background/redux/actions/sytemState";

0 commit comments

Comments
 (0)