forked from cerc-io/snowballtools-base
Project Search Bar Dialog Update (#196)
### TL;DR Reordered the properties in the `ProjectSearchBar` component to follow better coding standards. ### What changed? In `ProjectSearchBarDialog.tsx`, the 'getItemProps' object was moved to the end of the properties list within `ProjectSearchBarItem`. ### How to test? Verify that the `ProjectSearchBar` component functions as intended and that no properties are unduly affected by this change. ### Why make this change? This change enhances code readability and consistency, aligning the ordering of the properties more accurately with our standards.
This commit is contained in:
parent
e148fd8d6b
commit
306d3235b3
@ -96,9 +96,9 @@ export const ProjectSearchBarDialog = ({
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<ProjectSearchBarItem
|
<ProjectSearchBarItem
|
||||||
{...getItemProps({ item, index })}
|
|
||||||
key={item.id}
|
key={item.id}
|
||||||
item={item}
|
item={item}
|
||||||
|
{...getItemProps({ item, index })}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user