Skip to content

Commit 859ae0e

Browse files
committed
chore: renaming of variable
1 parent bf71d36 commit 859ae0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Shared/Components/Header/PageHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const PageHeader = ({
161161
<span className="fs-12 fw-4 lh-18 pt-1 pb-1 pl-6 pr-6 ml-8 cn-9 bcy-5 br-4">Beta</span>
162162
)
163163

164-
const sonClickShowTryDevtronModal = () => setShowTryDevtronModal(true)
164+
const onClickShowTryDevtronModal = () => setShowTryDevtronModal(true)
165165
const onClickCloseTryDevtronModal = () => setShowTryDevtronModal(false)
166166

167167
const renderIframeDrawer = () => (
@@ -200,7 +200,7 @@ const PageHeader = ({
200200
<Button
201201
dataTestId="iframe-header-button"
202202
size={ComponentSizeType.small}
203-
onClick={sonClickShowTryDevtronModal}
203+
onClick={onClickShowTryDevtronModal}
204204
text={tryDevtronButtonText}
205205
variant={ButtonVariantType.secondary}
206206
/>

0 commit comments

Comments
 (0)