File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
ui/views/RepoList/Components Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,9 @@ import RepoList from './ui/views/RepoList/RepoList';
28
28
29
29
import { RepoIcon } from '@primer/octicons-react' ;
30
30
import { Group , AccountCircle , Dashboard } from '@material-ui/icons' ;
31
+ import { Route } from './types/models' ;
31
32
32
- interface RouteType {
33
- path : string ;
34
- name : string ;
35
- icon : React . ComponentType < any > ;
36
- component : React . ComponentType < any > ;
37
- layout : string ;
38
- visible : boolean ;
39
- }
40
-
41
- const dashboardRoutes : RouteType [ ] = [
33
+ const dashboardRoutes : Route [ ] = [
42
34
{
43
35
path : '/repo' ,
44
36
name : 'Repositories' ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import axios from 'axios';
7
7
import moment from 'moment' ;
8
8
import CodeActionButton from '../../../components/CustomButtons/CodeActionButton' ;
9
9
import { languageColors } from '../../../../constants/languageColors' ;
10
+ import { RepositoriesProps } from '../repositories.types' ;
10
11
11
12
interface GitHubRepository {
12
13
description ?: string ;
You can’t perform that action at this time.
0 commit comments