Fix: Unable to navigate from the agent list page to the compilation editing page. (#17460)

This commit is contained in:
balibabu
2026-07-28 13:59:57 +08:00
committed by GitHub
parent 0fdefb284e
commit cc0fbd37ef
42 changed files with 200 additions and 195 deletions

View File

@@ -99,7 +99,7 @@ export const Default: Story = {
className: 'rounded-md border',
},
render: () => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [date, setDate] = useState<Date | undefined>(new Date());
return (
@@ -143,7 +143,7 @@ export const RangeSelection: Story = {
className: 'rounded-md border',
},
render: () => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [range, setRange] = useState<{
from: Date | undefined;
to?: Date | undefined;
@@ -206,7 +206,7 @@ export const WithoutOutsideDays: Story = {
className: 'rounded-md border',
},
render: () => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [date, setDate] = useState<Date | undefined>(new Date());
return (
@@ -249,7 +249,7 @@ export const CustomStyling: Story = {
showOutsideDays: true,
},
render: () => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [date, setDate] = useState<Date | undefined>(new Date());
return (

View File

@@ -169,7 +169,7 @@ export const Default: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (
@@ -228,7 +228,7 @@ export const Small: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (
@@ -297,7 +297,7 @@ export const Large: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (
@@ -364,7 +364,7 @@ export const WithCustomFooter: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (
@@ -448,7 +448,7 @@ export const WithoutFooter: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (
@@ -515,7 +515,7 @@ export const FullScreen: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (
@@ -581,9 +581,9 @@ export const LoadingState: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [loading, setLoading] = useState(false);
const handleOk = () => {
@@ -668,7 +668,7 @@ export const Interactive: Story = {
),
},
render: (args) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
// oxlint-disable-next-line react/rules-of-hooks
const [open, setOpen] = useState(false);
return (