kleros/kleros-v2

View on GitHub
web/src/components/ScrollTop.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React, { useEffect } from "react";

import { useScrollTop } from "hooks/useScrollTop";

const ScrollTop: React.FC = () => {
  const scrollTop = useScrollTop();

  useEffect(() => {
    scrollTop();
  }, []);

  return <></>;
};
export default ScrollTop;