fix: nprogress next integration

This commit is contained in:
sriram veeraghanta 2024-06-10 15:20:53 +05:30
parent d3556f457b
commit a88f2e3cba
6 changed files with 18 additions and 18 deletions

View file

@ -1,6 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import React from "react";
import { Draggable } from "./draggable";
import { Sortable } from "./sortable";
const meta: Meta<typeof Sortable> = {
@ -26,7 +25,9 @@ export const Default: Story = {
<div className="border ">{item.name}</div>
// </Draggable>
),
onChange: (data) => console.log(data.map(({ id }) => id)),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
onChange: (data) => console.log(data.map(({ id }: any) => id)),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
keyExtractor: (item: any) => item.id,
},
};