fix storybook after currency changed to string (#488)

pull/491/head
Valentin Zickner 3 years ago committed by GitHub
parent 3b857aa8bb
commit 4dc4f13f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save