Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zintarh authored and zintarh committed Nov 19, 2024
1 parent d4ef294 commit aec5f24
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ module.exports = {
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:storybook/recommended"
],
overrides: [
{
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/stories/CustomProposalForm.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export const Form: Story = {
},

render: ({ isModalOpen, ...args }) => {

const [_, setIsModalOpen] = useState(isModalOpen);
const [, setIsModalOpen] = useState(isModalOpen);
return <CustomProposalForm setIsModalOpen={setIsModalOpen} {...args} />;
},
};
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/stories/NewProposalCommentForm.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import NewProposalCommentForm from "../components/NewProposalCommentForm";
import { ComponentProps, useState } from "react";
Expand All @@ -22,7 +23,7 @@ export const Form: Story = {
propId: "1"
},
render: ({...args }) => {
const [_, setIsModalOpen] = useState(true)
const [, setIsModalOpen] = useState(true)
return <NewProposalCommentForm setIsModalOpen={setIsModalOpen} {...args} />;
},
};
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/stories/NewProposalForm.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import NewProposalForm from "../components/NewProposalForm";
import { ComponentProps, useState } from "react";
Expand Down Expand Up @@ -28,7 +29,7 @@ export const Form: Story = {
isModalOpen: true
},
render: ({isModalOpen, ...args }) => {
const [_, setIsModalOpen] = useState(isModalOpen)
const [, setIsModalOpen] = useState(isModalOpen)

return <NewProposalForm setIsModalOpen={setIsModalOpen} {...args} />;
},
Expand Down
1 change: 0 additions & 1 deletion frontend/src/stories/SubmitproposalModal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import { num } from "starknet"
import SubmitProposalModal from "../components/SubmitProposalModal";
import { ComponentProps } from "react";

Expand Down
1 change: 1 addition & 0 deletions frontend/src/stories/VestingTable.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react";
import { Meta, StoryObj } from "@storybook/react";
import VestingTable from "../components/VestingTable";
import { ComponentProps } from "react";
Expand Down

0 comments on commit aec5f24

Please sign in to comment.