Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

SvelteKit: fix issue where clicking link with no href refreshed the page#64136

Merged
jasonhawkharris merged 1 commit into
mainfrom
jhh/tools-button
Jul 29, 2024
Merged

SvelteKit: fix issue where clicking link with no href refreshed the page#64136
jasonhawkharris merged 1 commit into
mainfrom
jhh/tools-button

Conversation

@jasonhawkharris

@jasonhawkharris jasonhawkharris commented Jul 29, 2024

Copy link
Copy Markdown
Contributor

When clicking a menu item with no href, page refreshed every time. Now, menu items with no href cause no action when clicked.

Screen.Recording.2024-07-29.at.2.49.14.PM.mov

This is a follow up to this PR: https://github.com/sourcegraph/sourcegraph/pull/64134

Test plan

Manual/Visual testing

Changelog

@jasonhawkharris jasonhawkharris requested a review from peterguy July 29, 2024 19:50
@cla-bot cla-bot Bot added the cla-signed label Jul 29, 2024

@peterguy peterguy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful!

@jasonhawkharris jasonhawkharris enabled auto-merge (squash) July 29, 2024 19:55
@jasonhawkharris jasonhawkharris merged commit e0fa2bd into main Jul 29, 2024
@jasonhawkharris jasonhawkharris deleted the jhh/tools-button branch July 29, 2024 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants