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:
kame
2023-11-04 15:53:26 +00:00
committed by GitHub
parent de1915e1c2
commit 4c84b795a0
8 changed files with 32 additions and 38 deletions
@@ -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: