Fix formatting and React hook dependency lint errors

Fix max-len violations by breaking long lines across multiple
lines. Fix react-hooks/exhaustive-deps by adding missing deps
and removing unnecessary ones. Remove stale eslint-disable
comments in DataTable stories.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-15 13:32:54 +01:00
parent 13ca50df68
commit 43d6ab38fb
7 changed files with 32 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import { type FC, Fragment, useState } from "react";
// eslint-disable-next-line import-x/no-unresolved -- storybook v10 subpath export
import { fn } from "storybook/test";
import { Badge } from "../../Atoms/Badge/Badge";
@@ -16,7 +15,7 @@ export default {
title: "Atoms/DataTable/Cells",
component: Fragment as Component,
argTypes: {},
// eslint-disable-next-line @typescript-eslint/no-unsafe-call -- fn type unresolvable due to storybook/test subpath
args: { onUpdate: fn() as (key: string, value: unknown) => void },
} satisfies Meta<Component>;