Skip to content

Commit

Permalink
fixed a type declaration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olarsson committed Nov 21, 2023
1 parent c51c4b2 commit d48d886
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-scrollsy",
"private": false,
"version": "1.1.6",
"version": "1.1.7",
"description": "",
"license": "MIT",
"type": "module",
Expand Down
3 changes: 0 additions & 3 deletions src/ScrollTrackerCustom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export const ScrollTrackerCustom = ({ children, scrollThrottle, scrollingElement
const [update, setUpdate] = useState<boolean>(false);
const [customHtmlElement, setCustomHtmlElement] = useState<HTMLElement | undefined>(undefined);

console.log(scrollingElement);

const returns = childrenAsMethod({
scrollData: {
scrollTop: 0,
Expand All @@ -21,7 +19,6 @@ export const ScrollTrackerCustom = ({ children, scrollThrottle, scrollingElement
},
children: children,
});


waitForElm(scrollingElement).then((elem) => {
if (!customHtmlElement) {
Expand Down

0 comments on commit d48d886

Please sign in to comment.