Skip to content

Commit 4cfaab6

Browse files
jsnajdrMamaduka
andauthored
Navigator: fix two nits (WordPress#60273)
Co-authored-by: jsnajdr <[email protected]> Co-authored-by: Mamaduka <[email protected]>
1 parent 1610047 commit 4cfaab6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/components/src/navigator/navigator-screen/component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function UnconnectedNavigatorScreen(
106106

107107
// When navigating back, if a selector is provided, use it to look for the
108108
// target element (assumed to be a node inside the current NavigatorScreen)
109-
if ( location.isBack && location?.focusTargetSelector ) {
109+
if ( location.isBack && location.focusTargetSelector ) {
110110
elementToFocus = wrapperRef.current.querySelector(
111111
location.focusTargetSelector
112112
);

packages/edit-site/src/components/global-styles/screen-style-variations.js

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function ScreenStyleVariations() {
1919
return (
2020
<>
2121
<ScreenHeader
22-
back="/"
2322
title={ __( 'Browse styles' ) }
2423
description={ __(
2524
'Choose a variation to change the look of the site.'

0 commit comments

Comments
 (0)