Skip to content

Commit

Permalink
Prevent the page title from updating when editing a track title
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Dec 5, 2024
1 parent 1f1afa5 commit 3cfab9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ViewTrackDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function ViewTrackDetails() {
return (
<View hasPadding layout="centered">
<form className={styles.detailsForm} onSubmit={handleSubmit}>
<h2>Edit &quot;{formData.title}&quot;</h2>
<h2>Edit &quot;{track.title}&quot;</h2>
<Setting.Section>
<Setting.Input
label="Title"
Expand Down

0 comments on commit 3cfab9f

Please sign in to comment.