Skip to content

Commit

Permalink
fix(docs): identifier 'colors' has already been declared (#4276)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong authored Dec 8, 2024
1 parent de046f1 commit 05d0792
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
Radio,
} from "@nextui-org/react";

const colors = ["default", "primary", "secondary", "success", "warning", "danger"];

export default function App() {
const [selectedColor, setSelectedColor] = React.useState("default");

const colors = ["default", "primary", "secondary", "success", "warning", "danger"];

return (
<div className="flex flex-col gap-3">
<Table
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/components/table/multiple-selection.raw.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
Radio,
} from "@nextui-org/react";

const colors = ["default", "primary", "secondary", "success", "warning", "danger"];

export default function App() {
const [selectedColor, setSelectedColor] = React.useState("default");

const colors = ["default", "primary", "secondary", "success", "warning", "danger"];

return (
<div className="flex flex-col gap-3">
<Table
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/content/components/table/single-selection.raw.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
Radio,
} from "@nextui-org/react";

const colors = ["default", "primary", "secondary", "success", "warning", "danger"];

export default function App() {
const [selectedColor, setSelectedColor] = React.useState("default");

const colors = ["default", "primary", "secondary", "success", "warning", "danger"];

return (
<div className="flex flex-col gap-3">
<Table
Expand Down

0 comments on commit 05d0792

Please sign in to comment.