mirror of https://github.com/harness/drone.git
Code refactor
parent
b6f026c688
commit
02cb013263
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue