Skip to content

Commit

Permalink
fix: imp modals
Browse files Browse the repository at this point in the history
  • Loading branch information
makamekm committed Oct 6, 2020
1 parent a59ad8b commit 8c71358
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 99 deletions.
147 changes: 147 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "git-activity-team-tracker",
"version": "0.4.9",
"version": "0.4.10",
"private": false,
"description": "The tool visualize git activities, for teams, users, repositories",
"author": "Maxim Karpov <[email protected]>",
Expand Down Expand Up @@ -113,6 +113,7 @@
"react-spring": "^8.0.27",
"react-toastify": "^6.0.5",
"react-virtualized": "^9.21.2",
"@reach/dialog": "^0.11.2",
"recharts": "^2.0.0-beta.5",
"safe-eval": "^0.4.1",
"simple-peer": "^9.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/app/Layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const TopMenu: React.FC = observer(() => {

export const AppLayout: React.FC = observer(({ children }) => {
const service = React.useContext(LayoutService);
const scrollable = service.scrollable && service.nonScrollableStack === 0;
const scrollable = service.scrollable;
return (
<>
<ToastContainer
Expand Down
2 changes: 0 additions & 2 deletions src/components/Layout/LayoutService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export interface LayoutConfig {
topbar?: boolean;
footer?: boolean;
scrollable?: boolean;
nonScrollableStack?: number;
sidebarCollapsed?: boolean;
sidebarOpened?: boolean;
change?: (config: LayoutConfig) => void;
Expand All @@ -37,7 +36,6 @@ export interface LayoutConfig {
export const LayoutService = createService(
() => {
const state = useLocalStore<LayoutConfig>(() => ({
nonScrollableStack: 0,
...defaultState,
change: (config: LayoutConfig) => {
const newObj = {
Expand Down
Loading

0 comments on commit 8c71358

Please sign in to comment.