Skip to content

Commit

Permalink
Remove null ref
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow committed Oct 4, 2024
1 parent d5cf031 commit bc54a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiftLog.Ui/Shared/Presentation/ExerciseEditor.razor
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
{
var text = await JSRuntime.InvokeAsync<string?>("AppUtils.extractLinkFromClipboard", e);
SetExerciseLink(text ?? exercise.Link);
await linkField?.UpdateValueEvenIfFocused();
await linkField.UpdateValueEvenIfFocused();
}

private void UpdateExerciseHandler(ExerciseBlueprint updatedExercise)
Expand Down

0 comments on commit bc54a3e

Please sign in to comment.