Skip to content

Commit

Permalink
fix: 483 - prevent warnings on duplicate keys
Browse files Browse the repository at this point in the history
prabhuignoto committed Mar 20, 2024
1 parent 4945f39 commit f69fffc
Showing 4 changed files with 1,713 additions and 1,479 deletions.
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -57,13 +57,13 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/core": "^7.24.1",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.24.1",
"@babel/plugin-transform-typescript": "^7.24.1",
"@babel/preset-env": "^7.24.1",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@emotion/babel-plugin": "^11.11.0",
"@jest/types": "^29.6.3",
"@rollup/plugin-babel": "^6.0.4",
@@ -73,46 +73,46 @@
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@size-limit/preset-big-lib": "^11.0.3",
"@size-limit/preset-big-lib": "^11.1.1",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/react": "^14.2.2",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.26",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
"@types/node": "^20.11.30",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@types/react-router-dom": "^5.3.3",
"@types/sanitize-html": "^2.11.0",
"@types/styled-components": "^5.1.34",
"@types/testing-library__jest-dom": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.3.1",
"@vitest/ui": "^1.3.1",
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "^1.4.0",
"autoprefixer": "^10.4.18",
"babel-loader": "^9.1.3",
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
"babel-plugin-styled-components": "^2.1.4",
"c8": "^9.1.0",
"cssnano": "^6.1.0",
"cypress": "13.6.6",
"cypress": "13.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.2.0",
"husky": "^9.0.11",
"intersection-observer": "^0.12.2",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"postcss": "^8.4.35",
"postcss-preset-env": "^9.5.0",
"postcss": "^8.4.37",
"postcss-preset-env": "^9.5.2",
"postcss-syntax": "^0.36.2",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
@@ -130,10 +130,10 @@
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.71.1",
"sass": "^1.72.0",
"semver": "7.6.0",
"size-limit": "^11.0.3",
"snyk": "^1.1283.0",
"size-limit": "^11.1.1",
"snyk": "^1.1285.0",
"start-server-and-test": "^2.0.3",
"stylelint": "^16.2.1",
"stylelint-config-prettier-scss": "^1.0.0",
@@ -146,8 +146,8 @@
"typescript-plugin-css-modules": "^5.1.0",
"typescript-plugin-styled-components": "^3.0.0",
"vite": "^5.1.6",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.3.1"
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.4.0"
},
"resolutions": {
"ansi-regex": "5.0.1",
3,135 changes: 1,684 additions & 1,451 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/components/elements/popover/index.tsx
Original file line number Diff line number Diff line change
@@ -55,10 +55,6 @@ const PopOver: FunctionComponent<PopOverModel> = ({
}
}, [open]);

useEffect(() => {
console.log('$isMobile: ', theme);
}, [$isMobile]);

return (
<PopoverWrapper ref={ref}>
<Selecter
5 changes: 5 additions & 0 deletions src/components/timeline/timeline-toolbar.tsx
Original file line number Diff line number Diff line change
@@ -48,21 +48,25 @@ const TimelineToolbar: FunctionComponent<TimelineToolbarProps> = ({
const toolbarItems = useMemo(() => {
return [
{
id: 'timeline-controls',
label: 'Timeline Controls',
name: 'timeline_control',
onSelect: () => {},
},
{
id: 'timeline-popover',
label: 'timeline_popover',
name: 'popover',
onSelect: () => {},
},
{
id: 'layout-popover',
label: 'layout_popover',
name: 'popover',
onSelect: () => {},
},
{
id: 'change-density',
label: 'change_density',
name: 'changeDensity',
onSelect: () => {},
@@ -95,6 +99,7 @@ const TimelineToolbar: FunctionComponent<TimelineToolbarProps> = ({
// Render the TimelineToolbar component
return (
<Toolbar items={toolbarItems} theme={theme}>
<span>prabhu</span>
<Controls
disableLeft={disableLeft}
disableRight={disableRight}

0 comments on commit f69fffc

Please sign in to comment.