Fix import names

This commit is contained in:
Ian Minoso 2016-11-01 14:42:45 -04:00
parent 8d233ca493
commit 71dc3ff633
3 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@ import * as angular from "angular";
import repoHeader from "./header";
import repoSidebar from "./sidebar";
import repoMain from "./body";
import repoBody from "./body";
export function rpDirectives(){
angular.module('quayPages').directive('rpHeader', function(reactDirective) {
@ -13,8 +13,8 @@ export function rpDirectives(){
return reactDirective(repoSidebar);
});
angular.module('quayPages').directive('rpMain', function(reactDirective) {
return reactDirective(repoMain);
angular.module('quayPages').directive('rpBody', function(reactDirective) {
return reactDirective(repoBody);
});
}

View file

@ -1,10 +1,10 @@
import * as React from "react";
class repo_sidebar extends React.Component<{}, {}> {
class repoSidebar extends React.Component<{}, {}> {
render () {
return <div> The component for the sidebar</div>;
}
}
export default repo_sidebar;
export default repoSidebar;

View file

@ -7,7 +7,7 @@
<!-- React Components -->
<rp-header></rp-header>
<rp-sidebar></rp-sidebar>
<rp-main></rp-main>
<rp-body></rp-body>
</div>
<!-- Old Repo Page -->
<div ng-if="!newRepoExperiment">