Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
fix(storybook): correct hero component name change and some stray con…
Browse files Browse the repository at this point in the history
…sole logs (#1413)
  • Loading branch information
0-vortex committed Apr 2, 2022
1 parent 3af2f2b commit 180aa08
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/CreateGoals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function CreateGoals({installNeeded, user, onRepoCreation}) {
});
};

console.log(installReady)
return (
<React.Fragment>
<ContextStyle>
Expand Down
1 change: 0 additions & 1 deletion src/components/RecommendedRepoItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ function RecommendedRepoItem({goal, goalsId, onGoalAdded}) {
api
.createGoal(goalsId, goal, null)
.then(response => {
console.log(response);
onGoalAdded(response.data.gitHub.createIssue.issue);
})
.catch(e => console.error(e));
Expand Down
2 changes: 1 addition & 1 deletion src/components/RepositoryGoals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function RepositoryGoals({user}) {
const viewerStars = repository && repository.stars && repository.stars.text && JSON.parse(repository.stars.text);

const stars = remainingStars(data, viewerStars);
console.log(repository)

return (
<section>
{repository && repository.issues ? (
Expand Down
2 changes: 1 addition & 1 deletion stories/6-Home.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import HeroFoo from "../src/components/Hero";
import HeroFoo from "../src/components/LoginHero";
import {BrowserRouter} from "react-router-dom";

export default {
Expand Down

0 comments on commit 180aa08

Please sign in to comment.