Code refactor

try-new-ui
Vivek 2025-03-14 19:12:17 +05:30
parent b6f026c688
commit 02cb013263
1 changed files with 1 additions and 2 deletions

View File

@ -75,6 +75,7 @@ interface ProgressState {
export default function RepositoriesListing() { export default function RepositoriesListing() {
const { getString } = useStrings() const { getString } = useStrings()
const { pathname } = useLocation()
const history = useHistory() const history = useHistory()
const rowContainerRef = useRef<HTMLDivElement>(null) const rowContainerRef = useRef<HTMLDivElement>(null)
const [nameTextWidth, setNameTextWidth] = useState(600) const [nameTextWidth, setNameTextWidth] = useState(600)
@ -364,8 +365,6 @@ export default function RepositoriesListing() {
} }
}, [onResize]) }, [onResize])
const { pathname } = useLocation()
return ( return (
<Container className={css.main}> <Container className={css.main}>
<PageHeader <PageHeader