Added i18n configs

This commit is contained in:
Luis Alvarez
2020-10-24 16:10:31 -05:00
parent dae1477063
commit f3f0ba0935
3 changed files with 12 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ const Layout: FC<Props> = ({ children, pageProps }) => {
const [hasScrolled, setHasScrolled] = useState(false)
// TODO: Update code, add throttle and more.
// TODO: Make sure to not do any unnecessary updates as it's doing right now
useEffect(() => {
const offset = 0
function handleScroll() {