mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 14:28:04 +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,5 @@
|
||||
import { Meta } from "@storybook/react";
|
||||
import { action } from "@storybook/addon-actions";
|
||||
import DropDown from "./DropDown";
|
||||
import { BsSlack, BsGithub } from "react-icons/bs";
|
||||
|
||||
@@ -14,8 +15,7 @@ const meta = {
|
||||
export default meta;
|
||||
|
||||
const onClick = () => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("drop down clicked");
|
||||
action("onClick")("drop down clicked");
|
||||
};
|
||||
|
||||
export const Default = {
|
||||
|
||||
Reference in New Issue
Block a user