mirror of https://github.com/harness/drone.git
Code refactor
parent
b6f026c688
commit
02cb013263
|
@ -75,6 +75,7 @@ interface ProgressState {
|
|||
|
||||
export default function RepositoriesListing() {
|
||||
const { getString } = useStrings()
|
||||
const { pathname } = useLocation()
|
||||
const history = useHistory()
|
||||
const rowContainerRef = useRef<HTMLDivElement>(null)
|
||||
const [nameTextWidth, setNameTextWidth] = useState(600)
|
||||
|
@ -364,8 +365,6 @@ export default function RepositoriesListing() {
|
|||
}
|
||||
}, [onResize])
|
||||
|
||||
const { pathname } = useLocation()
|
||||
|
||||
return (
|
||||
<Container className={css.main}>
|
||||
<PageHeader
|
||||
|
|
Loading…
Reference in New Issue