mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
[PM-11407] Fix story for danger zone component (#11817)
* Fix story for danger zone component * fix linting
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { CommonModule } from "@angular/common";
|
||||||
import { importProvidersFrom } from "@angular/core";
|
import { importProvidersFrom } from "@angular/core";
|
||||||
import { Meta, StoryObj, applicationConfig, moduleMetadata } from "@storybook/angular";
|
import { Meta, StoryObj, applicationConfig, moduleMetadata } from "@storybook/angular";
|
||||||
|
|
||||||
@@ -13,7 +14,7 @@ export default {
|
|||||||
component: DangerZoneComponent,
|
component: DangerZoneComponent,
|
||||||
decorators: [
|
decorators: [
|
||||||
moduleMetadata({
|
moduleMetadata({
|
||||||
imports: [ButtonModule, JslibModule],
|
imports: [ButtonModule, JslibModule, CommonModule],
|
||||||
}),
|
}),
|
||||||
applicationConfig({
|
applicationConfig({
|
||||||
providers: [importProvidersFrom(PreloadedEnglishI18nModule)],
|
providers: [importProvidersFrom(PreloadedEnglishI18nModule)],
|
||||||
|
|||||||
Reference in New Issue
Block a user