Skip to content

Commit 45bc926

Browse files
chore(format): fix Prettier formatting on search.js and constants.js as per review feedback
1 parent 099221c commit 45bc926

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/components/search.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,7 @@ export const Mobile = ({
113113
return (
114114
<>
115115
{!isMobileSearchOpen && (
116-
<Button
117-
aria-label="Search"
118-
aria-expanded={isMobileSearchOpen}
119-
onClick={handleSearchToggle}
120-
>
116+
<Button aria-label="Search" aria-expanded={isMobileSearchOpen} onClick={handleSearchToggle}>
121117
<SearchIcon />
122118
</Button>
123119
)}
@@ -169,7 +165,7 @@ export const Mobile = ({
169165
borderColor: 'border.muted',
170166
position: 'relative',
171167
bg: 'canvas.default',
172-
zIndex: Z_INDEX.SEARCH_OVERLAY + 1,
168+
zIndex: Z_INDEX.SEARCH_OVERLAY + 1,
173169
}}
174170
>
175171
<motion.div

src/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export const CLI_PATH = '/cli'
1414

1515
export const Z_INDEX = {
1616
HEADER: 10,
17-
SEARCH_OVERLAY: 25
18-
}
17+
SEARCH_OVERLAY: 25,
18+
}

0 commit comments

Comments
 (0)