Skip to content

Commit 923bbf3

Browse files
committed
🐛 FIX: use prod package in example
1 parent 230ccd1 commit 923bbf3

File tree

7 files changed

+18
-201
lines changed

7 files changed

+18
-201
lines changed

demo-app/package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"react": "^17.0.2",
1515
"react-dom": "^17.0.2",
1616
"react-scripts": "4.0.3",
17+
"react-ui-scrollspy": "^2.0.0",
1718
"typescript": "^4.4.4",
1819
"web-vitals": "^1.1.2"
1920
},

demo-app/src/App.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import Center from "./components/Center/Center";
22
import Navigation from "./components/Navigation/Navigation";
3-
// eslint-disable-next-line
4-
// import ScrollSpy from "react-ui-scrollspy";
5-
// eslint-disable-next-line
6-
import ScrollSpy from "./components/src";
3+
import ScrollSpy from "react-ui-scrollspy";
74

85
function App() {
96
return (

demo-app/src/components/src/ScrollSpy/ScrollSpy.tsx

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

demo-app/src/components/src/index.tsx

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

demo-app/src/components/src/utils/isVisible.ts

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

demo-app/src/components/src/utils/throttle.ts

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

0 commit comments

Comments
 (0)