File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import React , { useEffect , useState } from "react" ;
2- import { BackstageTheme } from ' @backstage/theme' ;
2+ import { BackstageTheme } from " @backstage/theme" ;
33import DataTable from "react-data-table-component" ;
44import { columns } from "./tableHeadings" ;
55import ReactSpeedometer from "react-d3-speedometer" ;
@@ -12,7 +12,7 @@ function HarborRepository(props: RepositoryProps) {
1212 const [ repository , setRepository ] = useState < Repository [ ] > ( [ ] ) ;
1313
1414 const theme = useTheme < BackstageTheme > ( ) ;
15- const mode = theme . palette . type === ' dark' ? ' dark' : ' light' ;
15+ const mode = theme . palette . type === " dark" ? " dark" : " light" ;
1616
1717 useEffect ( ( ) => {
1818 setLoading ( false ) ;
@@ -40,7 +40,6 @@ function HarborRepository(props: RepositoryProps) {
4040 } , 1000 ) ;
4141 } , [ props . project , props . repository ] ) ;
4242
43-
4443 if ( ! loading && Object . keys ( repository ) . length > 0 ) {
4544 return < div > Loading...</ div > ;
4645 }
You can’t perform that action at this time.
0 commit comments