fix: nprogress next integration
This commit is contained in:
parent
d3556f457b
commit
a88f2e3cba
6 changed files with 18 additions and 18 deletions
|
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue