UNPKG

@devgateway/dvz-ui-react

Version:

A modular, embeddable React component library for data visualization and UI, built with TypeScript. Provides reusable components for charts, maps, dashboards, and more, with built-in support for internationalization and Redux integration.

2 lines (1 loc) 250 B
"use strict";const o=require("react"),t=require("react-router"),c=()=>{const{pathname:e}=t.useLocation();return o.useEffect(()=>{window.scrollTo(0,0)},[]),o.useEffect(()=>{window.setTimeout(()=>window.scrollTo(0,0),200)},[e]),null};module.exports=c;