Browse Source

fix storybook after currency changed to string (#488)

pull/491/head
Valentin Zickner 3 years ago
committed by GitHub
parent
commit
4dc4f13f40
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.stories.ts

3
libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.stories.ts

@ -1,5 +1,4 @@
import { CommonModule } from '@angular/common';
import { Currency } from '@prisma/client';
import { Meta, Story, moduleMetadata } from '@storybook/angular';
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
@ -24,7 +23,7 @@ const Template: Story<PortfolioProportionChartComponent> = (
export const Simple = Template.bind({});
Simple.args = {
baseCurrency: Currency.USD,
baseCurrency: 'USD',
keys: ['name'],
locale: 'en-US',
positions: {

Loading…
Cancel
Save