Skip to content

Commit e35d275

Browse files
feat: prevent hashbang in url on click on "Ask AI" (#513)
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 91988d0 commit e35d275

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/AskAi/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const AskAi = () => {
5151
aria-expanded="false"
5252
role="button"
5353
className={`navbar__link breadcrumbs__link ${styles.btn}`}
54+
onClick={($event) => $event.preventDefault()}
5455
>
5556
Ask AI
5657
</a>

0 commit comments

Comments
 (0)