Skip to content

Commit

Permalink
initial switch to redux for config state
Browse files Browse the repository at this point in the history
Currently the profile switcher is working, the remaining fields are not.
  • Loading branch information
coltoneshaw committed Sep 14, 2021
1 parent f911b92 commit 27e5553
Show file tree
Hide file tree
Showing 21 changed files with 606 additions and 92 deletions.
179 changes: 173 additions & 6 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@types/node-fetch": "^3.0.3",
"@types/react": "^17.0.15",
"@types/react-dom": "^17.0.9",
"@types/react-redux": "^7.1.18",
"@types/react-router-dom": "^5.1.8",
"@types/react-table": "^7.7.2",
"@types/styled-components": "^5.1.12",
Expand All @@ -63,6 +64,7 @@
"react-d3-speedometer": "^1.0.1",
"react-dom": "^17.0.2",
"react-gauge-chart": "^0.3.0",
"react-redux": "^7.2.5",
"react-router-dom": "^5.2.0",
"react-table": "^7.7.0",
"recharts": "^2.0.10",
Expand All @@ -79,9 +81,11 @@
"dependencies": {
"@date-io/date-fns": "^1.3.13",
"@material-ui/lab": "^4.0.0-alpha.60",
"@reduxjs/toolkit": "^1.6.1",
"3commas-api-node": "^1.0.9",
"better-sqlite3": "^7.4.1",
"date-fns": "^2.22.1",
"date-fns-tz": "^1.1.6",
"dot-prop": "^6.0.1",
"electron-fetch": "^1.7.4",
"electron-notarize": "^1.1.1",
Expand Down
4 changes: 1 addition & 3 deletions src/app/Components/Sidebar/Components/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import SidebarLink from "./SidebarLink";
import SidebarNav from "./SidebarNav";
import ProfileSwitcher from "./ProfileSwitcher";

export {
SidebarLink,
SidebarNav,
ProfileSwitcher
SidebarNav
}
3 changes: 2 additions & 1 deletion src/app/Components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import './Sidebar.scss';

import { ActiveDealsIcon, BackwardClock, BotPlannerIcon, Coffee, Cog, PieChart } from '@/app/Components/icons/Index';

import { SidebarNav, SidebarLink, ProfileSwitcher } from './Components';
import { SidebarNav, SidebarLink } from './Components';
import {ProfileSwitcher} from '@/app/Features/Profiles/Components/Index'

import DisplaySwitcher from './DisplaySwitcher';

Expand Down
Loading

0 comments on commit 27e5553

Please sign in to comment.