Skip to content

Commit 7c16cbd

Browse files
revert most in #1818 (#1829)
Co-authored-by: Yucohny <[email protected]>
1 parent e494859 commit 7c16cbd

33 files changed

+3653
-3938
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/build-pr.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI PR
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
pull_request:
9+
branches: [cn]
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "build"
14+
build:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21+
- uses: actions/checkout@v2
22+
23+
- name: Install
24+
run: |
25+
yarn
26+
yarn clean
27+
28+
- name: Build
29+
run: |
30+
yarn build
31+
32+
- name: Check Build
33+
run: |
34+
sudo -i
35+
sudo chown -R $USER ./dist

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
# runs-on: ubuntu-latest
1010
# steps:
1111
# - name: 'Checkout Repository'
12-
# uses: actions/checkout@v4
12+
# uses: actions/checkout@v3
1313
# - name: 'Dependency Review'
14-
# uses: actions/dependency-review-action@v3
14+
# uses: actions/dependency-review-action@v2

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
# The file need not be maintained in the cn repo.
2+
13
name: Deploy
24

35
on:
46
push:
57
branches:
6-
- main
8+
- master
79
schedule:
810
- cron: '0 0 * * *'
911
jobs:
@@ -12,10 +14,10 @@ jobs:
1214
strategy:
1315
matrix:
1416
os: [ubuntu-latest]
15-
node-version: [latest]
17+
node-version: [16.x]
1618
runs-on: ${{ matrix.os }}
1719
steps:
18-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v3
1921

2022
- name: Use Node.js ${{ matrix.node-version }}
2123
uses: actions/setup-node@v3
@@ -41,7 +43,7 @@ jobs:
4143
- run: yarn lint:links
4244

4345
- name: Deploy
44-
uses: JamesIves/[email protected].3
46+
uses: JamesIves/[email protected].0
4547
with:
4648
token: ${{ secrets.GITHUB_TOKEN }}
4749
folder: dist

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is a basic workflow to help you get started with Actions
1+
# This file should modified carefully.
22

33
name: CI
44

@@ -18,7 +18,7 @@ jobs:
1818
# Steps represent a sequence of tasks that will be executed as part of the job
1919
steps:
2020
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v2
2222

2323
- name: Install
2424
run: |

package.json

Lines changed: 61 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"clean-printable": "rimraf src/content/**/printable.mdx",
2929
"preclean": "run-s clean-dist clean-printable",
3030
"clean": "rimraf src/content/**/_*.mdx src/**/_*.json repositories/*.json",
31-
"start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --define-process-env-node-env development",
31+
"start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --node-env development",
3232
"content": "node src/scripts/build-content-tree.mjs ./src/content ./src/_content.json",
33-
"bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.mjs --define-process-env-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --define-process-env-node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json",
33+
"bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.mjs --node-env production && run-s printable content && webpack --config webpack.ssg.mjs --node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json",
3434
"fetch-repos": "node src/utilities/fetch-package-repos.mjs",
3535
"fetch": "run-p fetch:*",
3636
"fetch:readmes": "node src/utilities/fetch-package-readmes.mjs",
3737
"fetch:supporters": "node src/utilities/fetch-supporters.mjs",
3838
"prebuild": "npm run clean",
39-
"build": "run-s fetch-repos fetch content && webpack --config webpack.prod.mjs --define-process-env-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --define-process-env-node-env production --env ssg",
39+
"build": "run-s content && webpack --config webpack.prod.mjs --node-env production && run-s printable content && webpack --config webpack.ssg.mjs --node-env production --env ssg",
4040
"postbuild": "npm run sitemap",
4141
"build-test": "npm run build && http-server --port 4200 dist/",
4242
"serve-dist": "http-server --port 4200 dist/",
@@ -48,6 +48,9 @@
4848
"lint-markdown": "markdownlint --config ./.markdownlint.json",
4949
"lint:prose": "vale --config='.vale.ini' src/content",
5050
"lint:links": "hyperlink -c 8 --root dist -r dist/index.html --canonicalroot https://webpack.js.org/ --internal --skip /plugins/extract-text-webpack-plugin/ --skip /printable --skip https:// --skip http:// --skip sw.js > internal-links.tap; cat internal-links.tap | tap-spot",
51+
"lint:heading": "textlint --fix src/content/*",
52+
"lint:heading-blog": "textlint --fix src/content/blog/*",
53+
"lint:headingMDX": "textlint --fix src/content/**/*.mdx",
5154
"sitemap": "cd dist && sitemap-static --ignore-file=../sitemap-ignore.json --pretty --prefix=https://webpack.js.org/ > sitemap.xml",
5255
"serve": "npm run build && sirv start ./dist --port 4000",
5356
"preprintable": "npm run clean-printable",
@@ -70,97 +73,102 @@
7073
]
7174
},
7275
"devDependencies": {
73-
"@babel/core": "^7.22.19",
74-
"@babel/eslint-parser": "^7.22.15",
76+
"@babel/core": "^7.19.6",
77+
"@babel/eslint-parser": "^7.19.1",
7578
"@babel/plugin-proposal-class-properties": "^7.17.12",
76-
"@babel/preset-env": "^7.22.15",
77-
"@babel/preset-react": "^7.22.15",
79+
"@babel/preset-env": "^7.19.4",
80+
"@babel/preset-react": "^7.18.6",
7881
"@mdx-js/loader": "^2.0.0-next.9",
79-
"@octokit/auth-action": "^4.0.0",
80-
"@octokit/rest": "^20.0.1",
82+
"@octokit/auth-action": "^2.0.2",
83+
"@octokit/rest": "^19.0.5",
8184
"@pmmmwh/react-refresh-webpack-plugin": "next",
82-
"@svgr/webpack": "^8.1.0",
83-
"autoprefixer": "^10.4.15",
84-
"babel-loader": "^9.1.3",
85+
"@svgr/webpack": "^6.5.1",
86+
"autoprefixer": "^10.4.13",
87+
"babel-loader": "^9.0.0",
8588
"copy-webpack-plugin": "^11.0.0",
86-
"css-loader": "^6.8.1",
87-
"css-minimizer-webpack-plugin": "^5.0.1",
88-
"cypress": "^13.2.0",
89-
"directory-tree": "^3.5.1",
89+
"css-loader": "^6.7.1",
90+
"css-minimizer-webpack-plugin": "^4.2.2",
91+
"cypress": "^10.11.0",
92+
"directory-tree": "^3.3.1",
9093
"directory-tree-webpack-plugin": "^1.0.3",
9194
"duplexer": "^0.1.1",
92-
"eslint": "^8.49.0",
93-
"eslint-config-prettier": "^9.0.0",
94-
"eslint-plugin-cypress": "^2.14.0",
95-
"eslint-plugin-mdx": "^2.2.0",
96-
"eslint-plugin-react": "^7.33.2",
95+
"eslint": "^8.26.0",
96+
"eslint-config-prettier": "^8.5.0",
97+
"eslint-plugin-cypress": "^2.12.1",
98+
"eslint-plugin-mdx": "^2.0.5",
99+
"eslint-plugin-react": "^7.31.10",
97100
"eslint-plugin-react-hooks": "^4.6.0",
98101
"front-matter": "^4.0.2",
99102
"github-slugger": "^2.0.0",
100-
"html-webpack-plugin": "^5.5.3",
103+
"html-loader": "^2.1.2",
104+
"html-webpack-plugin": "^5.5.0",
101105
"http-server": "^14.1.1",
102-
"husky": "^8.0.3",
106+
"husky": "^8.0.1",
103107
"hyperlink": "^5.0.4",
104108
"jest": "^29.7.0",
105-
"lightningcss": "^1.21.8",
106-
"lint-staged": "^14.0.1",
109+
"lightningcss": "^1.16.0",
110+
"lint-staged": "^13.0.3",
107111
"lodash": "^4.17.21",
108-
"markdownlint-cli": "^0.36.0",
109-
"mdast-util-to-string": "^4.0.0",
110-
"mini-css-extract-plugin": "^2.7.6",
111-
"mkdirp": "^3.0.1",
112+
"markdownlint": "^0.26.2",
113+
"markdownlint-cli": "^0.32.2",
114+
"mdast-util-to-string": "^3.1.0",
115+
"mini-css-extract-plugin": "^2.6.1",
116+
"mkdirp": "^1.0.4",
112117
"modularscale-sass": "^3.0.3",
118+
"node-fetch": "^3.2.10",
113119
"npm-run-all": "^4.1.1",
114-
"postcss": "^8.4.29",
115-
"postcss-loader": "^7.3.3",
116-
"prettier": "^3.0.3",
120+
"postcss": "^8.4.18",
121+
"postcss-loader": "^7.0.1",
122+
"prettier": "^2.7.1",
117123
"react-refresh": "^0.14.0",
118124
"redirect-webpack-plugin": "^1.0.0",
119-
"remark": "^14.0.3",
125+
"remark": "^14.0.2",
120126
"remark-autolink-headings": "7.0.1",
121-
"remark-emoji": "^4.0.0",
127+
"remark-emoji": "^3.0.2",
122128
"remark-extract-anchors": "1.1.1",
123129
"remark-frontmatter": "^4.0.1",
124130
"remark-gfm": "^1.0.0",
125-
"remark-html": "^15.0.2",
131+
"remark-html": "^15.0.1",
126132
"remark-refractor": "montogeek/remark-refractor",
127-
"rimraf": "^5.0.1",
128-
"sass": "^1.67.0",
129-
"sass-loader": "^13.3.2",
133+
"rimraf": "^3.0.2",
134+
"sass": "^1.55.0",
135+
"sass-loader": "^13.1.0",
130136
"sirv-cli": "^2.0.2",
131137
"sitemap-static": "^0.4.2",
132138
"static-site-generator-webpack-plugin": "^3.4.1",
133-
"style-loader": "^3.3.3",
134-
"tailwindcss": "^3.3.3",
139+
"style-loader": "^3.3.1",
140+
"tailwindcss": "^3.2.1",
135141
"tap-spot": "^1.1.2",
136-
"unist-util-visit": "^5.0.0",
137-
"webpack": "^5.88.2",
138-
"webpack-bundle-analyzer": "^4.9.1",
139-
"webpack-cli": "^5.1.4",
140-
"webpack-dev-server": "^4.15.1",
141-
"webpack-merge": "^5.9.0",
142-
"workbox-webpack-plugin": "^7.0.0",
143-
"yarn-deduplicate": "^6.0.2"
142+
"textlint": "^11.8.2",
143+
"textlint-rule-heading": "^1.0.10",
144+
"unist-util-visit": "^4.1.1",
145+
"webpack": "^5.74.0",
146+
"webpack-bundle-analyzer": "^4.7.0",
147+
"webpack-cli": "^4.10.0",
148+
"webpack-dev-server": "^4.11.1",
149+
"webpack-merge": "^5.8.0",
150+
"workbox-webpack-plugin": "^6.5.4",
151+
"yarn-deduplicate": "^6.0.0"
144152
},
145153
"dependencies": {
146154
"@docsearch/react": "^3.0.0-alpha.50",
147-
"@react-spring/web": "^9.7.3",
148155
"path-browserify": "^1.0.1",
149156
"prop-types": "^15.8.1",
150157
"react": "^17.0.2",
151158
"react-dom": "^17.0.2",
152159
"react-helmet-async": "^1.3.0",
153-
"react-router-dom": "^6.16.0",
160+
"react-router-dom": "^6.4.2",
161+
"react-spring": "^9.5.5",
154162
"react-tiny-popover": "5",
155163
"react-use": "^17.4.0",
156164
"react-visibility-sensor": "^5.0.2",
157165
"webpack-pwa-manifest": "^4.3.0",
158-
"workbox-window": "^7.0.0"
166+
"webpack.vote": "https://github.com/webpack/voting-app.git",
167+
"workbox-window": "^6.5.4"
159168
},
160169
"resolutions": {
161170
"sitemap-static/minimist": "1.2.5",
162171
"ini": "1.3.7",
163-
"eval": "^0.1.5",
164-
"markdownlint-cli/markdownlint": "^0.27.0"
172+
"eval": "^0.1.5"
165173
}
166174
}

src/components/HelloDarkness.jsx

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function HelloDarkness() {
5252
xmlns="http://www.w3.org/2000/svg"
5353
>
5454
<path
55-
d="M20.742 13.045a8.086 8.086 0 0 1-2.077.271c-2.135 0-4.14-.83-5.646-2.336a8.026 8.026 0 0 1-2.064-7.723A1 1 0 0 0 9.73 2.034a10.014 10.014 0 0 0-4.489 2.582c-3.898 3.898-3.898 10.243 0 14.143a9.936 9.936 0 0 0 7.072 2.93 9.93 9.93 0 0 0 7.07-2.929 10.007 10.007 0 0 0 2.583-4.491 1 1 0 0 0-1.224-1.224Zm-2.772 4.301a7.947 7.947 0 0 1-5.656 2.343 7.952 7.952 0 0 1-5.658-2.344c-3.118-3.119-3.118-8.195 0-11.314a7.923 7.923 0 0 1 2.06-1.483 10.027 10.027 0 0 0 2.89 7.848 9.973 9.973 0 0 0 7.848 2.891 8.037 8.037 0 0 1-1.484 2.059Z"
55+
d="M20.742 13.045C20.0643 13.225 19.3662 13.3161 18.665 13.316C16.53 13.316 14.525 12.486 13.019 10.98C12.0301 9.98533 11.3191 8.74884 10.9569 7.39378C10.5948 6.03871 10.5941 4.61239 10.955 3.25698C11.0001 3.08752 10.9998 2.90918 10.9542 2.73985C10.9086 2.57053 10.8192 2.41618 10.6951 2.29229C10.571 2.16839 10.4165 2.07931 10.2471 2.03397C10.0777 1.98863 9.8994 1.98864 9.73 2.03398C8.03316 2.48617 6.48507 3.37661 5.241 4.61598C1.343 8.51398 1.343 14.859 5.241 18.759C6.16753 19.6907 7.26964 20.4294 8.48354 20.9323C9.69745 21.4352 10.999 21.6924 12.313 21.689C13.6266 21.6927 14.9279 21.4357 16.1415 20.9329C17.3551 20.4301 18.4569 19.6916 19.383 18.76C20.6233 17.5157 21.5142 15.9668 21.966 14.269C22.0109 14.0996 22.0105 13.9214 21.9649 13.7522C21.9193 13.583 21.8301 13.4287 21.7062 13.3048C21.5823 13.1809 21.428 13.0916 21.2588 13.0461C21.0896 13.0005 20.9114 13.0001 20.742 13.045V13.045ZM17.97 17.346C17.229 18.0911 16.3475 18.6818 15.3767 19.084C14.4058 19.4862 13.3649 19.6918 12.314 19.689C11.2628 19.6916 10.2215 19.4858 9.25033 19.0834C8.27916 18.6811 7.39739 18.0902 6.656 17.345C3.538 14.226 3.538 9.14998 6.656 6.03098C7.25851 5.42915 7.9541 4.9284 8.716 4.54798C8.60448 5.98704 8.80496 7.43322 9.30373 8.78767C9.8025 10.1421 10.5878 11.3729 11.606 12.396C12.6268 13.4174 13.8573 14.2048 15.2123 14.704C16.5673 15.2032 18.0146 15.4021 19.454 15.287C19.0715 16.0476 18.5706 16.7426 17.97 17.346V17.346Z"
5656
fill="currentColor"
5757
/>
5858
</svg>
@@ -65,7 +65,39 @@ export default function HelloDarkness() {
6565
xmlns="http://www.w3.org/2000/svg"
6666
>
6767
<path
68-
d="M12 18.14a.722.722 0 0 0-.722.722v2.166a.722.722 0 0 0 1.444 0v-2.166a.722.722 0 0 0-.722-.721ZM12 2.25a.722.722 0 0 0-.722.722v2.166a.722.722 0 0 0 1.444 0V2.972A.722.722 0 0 0 12 2.25ZM5.86 12a.722.722 0 0 0-.723-.722H2.972a.722.722 0 0 0 0 1.444h2.165A.722.722 0 0 0 5.86 12ZM21.028 11.278h-2.165a.722.722 0 0 0 0 1.444h2.165a.722.722 0 0 0 0-1.444ZM7.148 16.13a.72.72 0 0 0-.51.21l-1.533 1.534a.72.72 0 1 0 1.022 1.022l1.532-1.533a.724.724 0 0 0-.51-1.233ZM16.852 7.87a.72.72 0 0 0 .51-.21l1.533-1.533a.72.72 0 0 0 .211-.511.72.72 0 0 0-.722-.722.72.72 0 0 0-.51.21L16.34 6.639a.72.72 0 0 0-.211.51.72.72 0 0 0 .722.722ZM6.127 5.105a.72.72 0 0 0-.511-.211.72.72 0 0 0-.722.722.72.72 0 0 0 .21.51L6.638 7.66a.72.72 0 0 0 .511.211.72.72 0 0 0 .722-.722.72.72 0 0 0-.21-.51L6.126 5.105ZM17.363 16.34a.72.72 0 1 0-1.022 1.022l1.532 1.533a.72.72 0 0 0 1.022 0 .72.72 0 0 0 0-1.021l-1.532-1.533ZM12 7.5c-2.48 0-4.5 2.02-4.5 4.5s2.02 4.5 4.5 4.5 4.5-2.02 4.5-4.5-2.02-4.5-4.5-4.5Z"
68+
d="M12 18.1406C11.6016 18.1406 11.2782 18.464 11.2782 18.8624V21.0281C11.2782 21.4265 11.6016 21.7499 12 21.7499C12.3985 21.7499 12.7219 21.4265 12.7219 21.0281V18.8624C12.7219 18.464 12.3985 18.1406 12 18.1406V18.1406Z"
69+
fill="currentColor"
70+
/>
71+
<path
72+
d="M12 2.25006C11.6016 2.25006 11.2782 2.5735 11.2782 2.97194V5.13756C11.2782 5.536 11.6016 5.85944 12 5.85944C12.3985 5.85944 12.7219 5.536 12.7219 5.13756V2.97194C12.7219 2.5735 12.3985 2.25006 12 2.25006V2.25006Z"
73+
fill="currentColor"
74+
/>
75+
<path
76+
d="M5.85936 12C5.85936 11.6015 5.53592 11.2781 5.13749 11.2781H2.97186C2.57342 11.2781 2.24999 11.6015 2.24999 12C2.24999 12.3984 2.57342 12.7218 2.97186 12.7218H5.13749C5.53592 12.7218 5.85936 12.3984 5.85936 12V12Z"
77+
fill="currentColor"
78+
/>
79+
<path
80+
d="M21.0281 11.2781H18.8625C18.4641 11.2781 18.1406 11.6015 18.1406 12C18.1406 12.3984 18.4641 12.7218 18.8625 12.7218H21.0281C21.4266 12.7218 21.75 12.3984 21.75 12C21.75 11.6015 21.4266 11.2781 21.0281 11.2781V11.2781Z"
81+
fill="currentColor"
82+
/>
83+
<path
84+
d="M7.14841 16.1298C6.95622 16.1298 6.77341 16.2048 6.63747 16.3407L5.10466 17.8735C4.96872 18.0094 4.89372 18.1923 4.89372 18.3844C4.89372 18.5766 4.96872 18.7594 5.10466 18.8954C5.2406 19.0313 5.42341 19.1063 5.6156 19.1063C5.80779 19.1063 5.9906 19.0313 6.12654 18.8954L7.65935 17.3626C7.9406 17.0813 7.9406 16.6219 7.65935 16.3407C7.52341 16.2048 7.3406 16.1298 7.14841 16.1298V16.1298Z"
85+
fill="currentColor"
86+
/>
87+
<path
88+
d="M16.8516 7.87036C17.0437 7.87036 17.2266 7.79536 17.3625 7.65942L18.8953 6.12661C19.0312 5.99067 19.1062 5.80786 19.1062 5.61567C19.1062 5.42349 19.0312 5.24067 18.8953 5.10474C18.7594 4.9688 18.5766 4.8938 18.3844 4.8938C18.1922 4.8938 18.0094 4.9688 17.8734 5.10474L16.3406 6.63755C16.2047 6.77349 16.1297 6.9563 16.1297 7.14849C16.1297 7.34067 16.2047 7.52349 16.3406 7.65942C16.4766 7.79536 16.6594 7.87036 16.8516 7.87036V7.87036Z"
89+
fill="currentColor"
90+
/>
91+
<path
92+
d="M6.12654 5.10474C5.9906 4.9688 5.80779 4.8938 5.6156 4.8938C5.42341 4.8938 5.2406 4.9688 5.10466 5.10474C4.96872 5.24067 4.89372 5.42349 4.89372 5.61567C4.89372 5.80786 4.96872 5.99067 5.10466 6.12661L6.63747 7.65942C6.77341 7.79536 6.95622 7.87036 7.14841 7.87036C7.3406 7.87036 7.52341 7.79536 7.65935 7.65942C7.79529 7.52349 7.87029 7.34067 7.87029 7.14849C7.87029 6.9563 7.79529 6.77349 7.65935 6.63755L6.12654 5.10474V5.10474Z"
93+
fill="currentColor"
94+
/>
95+
<path
96+
d="M17.3625 16.3407C17.2266 16.2048 17.0437 16.1298 16.8516 16.1298C16.6594 16.1298 16.4766 16.2048 16.3406 16.3407C16.0594 16.6219 16.0594 17.0813 16.3406 17.3626L17.8734 18.8954C18.0094 19.0313 18.1922 19.1063 18.3844 19.1063C18.5766 19.1063 18.7594 19.0313 18.8953 18.8954C19.0312 18.7594 19.1062 18.5766 19.1062 18.3844C19.1062 18.1923 19.0312 18.0094 18.8953 17.8735L17.3625 16.3407V16.3407Z"
97+
fill="currentColor"
98+
/>
99+
<path
100+
d="M12 7.5C9.52031 7.5 7.5 9.52031 7.5 12C7.5 14.4797 9.52031 16.5 12 16.5C14.4797 16.5 16.5 14.4797 16.5 12C16.5 9.52031 14.4797 7.5 12 7.5Z"
69101
fill="currentColor"
70102
/>
71103
</svg>

src/components/Markdown/prism-theme.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ pre[class*='lang-'] {
7575

7676
.token.deleted {
7777
color: #f79494;
78-
user-select: none;
7978
}
8079

8180
.token.operator,

src/components/NotificationBar/MessageBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import CloseIcon from '../../styles/icons/cross.svg';
22
import PropTypes from 'prop-types';
33
import Content from './Notification.mdx';
44
import { version, localStorageIsEnabled } from './NotificationBar';
5-
import { useTransition, animated, config } from 'react-spring/web';
5+
import { useTransition, animated, config } from 'react-spring';
66
import { useEffect, useState } from 'react';
77

88
MessageBar.propTypes = {

0 commit comments

Comments
 (0)