mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-09-04 18:35:39 +00:00
Removal of ignore notation in storybook eslint and transition to actions function (#489)
* fix: desprecated .storybook/main.ts and actions-addons * remove: ignore notation in storybook eslint and transition to actions function * remove: unnecessary eslint ignore code
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* eslint-disable no-console */
|
||||
import { action } from "@storybook/addon-actions";
|
||||
import { Meta } from "@storybook/react";
|
||||
import ErrorModal from "./ErrorModal";
|
||||
|
||||
@@ -16,7 +16,7 @@ export default meta;
|
||||
export const Default = {
|
||||
args: {
|
||||
onClose: () => {
|
||||
console.log("on Close clicked");
|
||||
action("onClose")("on Close clicked");
|
||||
},
|
||||
titleText: "Failed to get list of charts",
|
||||
contentText:
|
||||
|
||||
Reference in New Issue
Block a user