()
| 10 | } |
| 11 | |
| 12 | const scrollUp = () => { |
| 13 | window.scrollTo({ |
| 14 | top: 0, |
| 15 | behavior: 'smooth', |
| 16 | }); |
| 17 | }; |
| 18 | |
| 19 | const ScrollToTop = ({ containerId, targetRef }: ScrollToTopProps) => { |
| 20 | const [showButton, setShowButton] = useState(false); |
nothing calls this directly
no outgoing calls
no test coverage detected