Skip to content

Commit

Permalink
docs: fix storybook missing stories (#156)
Browse files Browse the repository at this point in the history
Fix wrongly pushed stories and remove console.logs
  • Loading branch information
markov00 authored Apr 8, 2019
1 parent 22659de commit b78e0e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .storybook/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ addDecorator(
);

function loadStories() {
require('../stories/playground.tsx');
require('../stories/bar_chart.tsx');
require('../stories/line_chart.tsx');
require('../stories/area_chart.tsx');
Expand Down
8 changes: 4 additions & 4 deletions src/state/chart_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,10 @@ export class ChartStore {
this.customSeriesColors = new Map([...this.customSeriesColors, ...updatedCustomSeriesColors]);

// tslint:disable-next-line:no-console
console.log({ colors: seriesDomains.seriesColors });
// console.log({ colors: seriesDomains.seriesColors });

// tslint:disable-next-line:no-console
console.log({ seriesDomains });
// console.log({ seriesDomains });
this.seriesColorMap = getSeriesColorMap(
seriesDomains.seriesColors,
this.chartTheme.colors,
Expand All @@ -761,7 +761,7 @@ export class ChartStore {
this.deselectedDataSeries,
);
// tslint:disable-next-line:no-console
console.log({ legendItems: this.legendItems });
// console.log({ legendItems: this.legendItems });

const {
xDomain,
Expand Down Expand Up @@ -822,7 +822,7 @@ export class ChartStore {
);

// tslint:disable-next-line:no-console
console.log({ seriesGeometries });
// console.log({ seriesGeometries });
this.geometries = seriesGeometries.geometries;
this.xScale = seriesGeometries.scales.xScale;
this.yScales = seriesGeometries.scales.yScales;
Expand Down

0 comments on commit b78e0e2

Please sign in to comment.