fix sonar bugs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-24 12:18:55 +01:00
parent dd084369e9
commit f9864842b5
7 changed files with 20 additions and 17 deletions

View File

@@ -99,7 +99,7 @@ export default meta;
type Story = StoryObj<typeof meta>;
export const Stacked: Story = {
render: (args) => {
render: function StackedRender(args) {
const [value, setValue] = useState(args.value);
return (
<Dropdown
@@ -119,7 +119,7 @@ export const Inline: Story = {
layout: 'inline',
size: 'sm',
},
render: (args) => {
render: function InlineRender(args) {
const [value, setValue] = useState(args.value);
return (
<Dropdown
@@ -147,7 +147,7 @@ export const WithError: Story = {
};
export const SizeMatrix: Story = {
render: (args) => {
render: function SizeMatrixRender(args) {
const [value, setValue] = useState(args.value);
return (
<div className="grid grid-cols-1 gap-3">