Skip to content

Commit

Permalink
chore: 🔥 remove unused code and dependency (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas authored Oct 10, 2023
1 parent 041bf4e commit 4f6e44e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion packages/workspace-fusion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"rxjs": "^7.8.0",
"vite-plugin-environment": "^1.1.3"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { Button, Icon } from '@equinor/eds-core-react';
import { arrow_back_ios, arrow_forward_ios } from '@equinor/eds-icons';
import { FilterState, useFilterContext } from '@equinor/workspace-filter';
import { Garden } from '@equinor/workspace-garden';
import { useEffect, useRef, useState } from 'react';
import { BehaviorSubject } from 'rxjs';
import { useState } from 'react';
import styled from 'styled-components';
import { useWorkspace } from '../../../../lib/hooks';
import { GardenConfig } from '../../../../lib/integrations/garden';
Expand Down Expand Up @@ -35,12 +34,6 @@ export const GardenWrapper = <TData extends Record<PropertyKey, unknown>, TFilte
updateDateVariant(dateVariant);
};

const groupingKeys$ = useRef(new BehaviorSubject({ groupingKeys, timeInterval, dateVariant }));

useEffect(() => {
groupingKeys$.current.next({ groupingKeys, timeInterval, dateVariant });
}, [groupingKeys, timeInterval, dateVariant]);

const { selection } = useWorkspace();

return (
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

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

0 comments on commit 4f6e44e

Please sign in to comment.