Skip to content

Commit 22ee174

Browse files
Fix lint issues: add parentheses around arrow function parameters
- Fixed formatting issues in select.stories.tsx - Added parentheses around resolve parameter in Promise constructors - Ensures Biome linting rules are satisfied
1 parent 0593b32 commit 22ee174

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/docs/src/remix-hook-form/select.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ export const CreatableOption: Story = {
511511
const regionSelect = canvas.getByLabelText('Custom Region');
512512
await userEvent.click(regionSelect);
513513
// Add a small delay to ensure the dropdown has time to render
514-
await new Promise(resolve => setTimeout(resolve, 100));
514+
await new Promise((resolve) => setTimeout(resolve, 100));
515515
const listbox = await within(document.body).findByRole('listbox');
516516
// The search input is outside the listbox container; query from the portal root
517517
const input = within(document.body).getByPlaceholderText('Search...');
@@ -534,7 +534,7 @@ export const CreatableOption: Story = {
534534
const regionSelect = canvas.getByLabelText('Custom Region');
535535
await userEvent.click(regionSelect);
536536
// Add a small delay to ensure the dropdown has time to render
537-
await new Promise(resolve => setTimeout(resolve, 100));
537+
await new Promise((resolve) => setTimeout(resolve, 100));
538538
const listbox = await within(document.body).findByRole('listbox');
539539
// The search input is outside the listbox container; query from the portal root
540540
const input = within(document.body).getByPlaceholderText('Search...');

0 commit comments

Comments
 (0)