From 4dc4f13f4014367b9cd237b4a5f1aeb410f61a45 Mon Sep 17 00:00:00 2001 From: Valentin Zickner <3200232+vzickner@users.noreply.github.com> Date: Tue, 23 Nov 2021 20:58:41 +0100 Subject: [PATCH] fix storybook after currency changed to string (#488) --- .../portfolio-proportion-chart.component.stories.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.stories.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.stories.ts index 078b3bb99..65993fe25 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.stories.ts +++ b/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 = ( export const Simple = Template.bind({}); Simple.args = { - baseCurrency: Currency.USD, + baseCurrency: 'USD', keys: ['name'], locale: 'en-US', positions: {