Skip to content

Commit

Permalink
fix(protocol-designer): fix create button clickable area issue (#16522)
Browse files Browse the repository at this point in the history
* fix(protocol-designer): fix create button clickable area issue
  • Loading branch information
koji authored Oct 18, 2024
1 parent b1f9481 commit b157bb4
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions protocol-designer/src/pages/Landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,14 @@ export function Landing(): JSX.Element {
</StyledText>
</Flex>
</Flex>
<LargeButton
onClick={() => {
dispatch(toggleNewProtocolModal(true))
}}
buttonText={
<StyledNavLink to={'/createNew'}>
<ButtonText>{t('create_a_protocol')}</ButtonText>
</StyledNavLink>
}
/>
<StyledNavLink to={'/createNew'}>
<LargeButton
onClick={() => {
dispatch(toggleNewProtocolModal(true))
}}
buttonText={<ButtonText>{t('create_a_protocol')}</ButtonText>}
/>
</StyledNavLink>
<StyledLabel>
<Flex css={BUTTON_LINK_STYLE}>
<StyledText desktopStyle="bodyLargeRegular">
Expand Down

0 comments on commit b157bb4

Please sign in to comment.