Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ onClick
Function
onClick
packages/shared/src/components/ScrollToTopButton.tsx:57–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
};
56
57
const onClick = () => window.scrollTo({ top: 0, behavior:
'smooth'
});
58
59
const props: ButtonProps<
'button'
> = {
60
icon: <ArrowIcon />,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected