Skip to content

Commit 7d18e6e

Browse files
committed
docs: update line comments
1 parent fc0be9e commit 7d18e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const SearchReplaceForBlockEditor = (): JSX.Element => {
4040
const [ caseSensitive, setCaseSensitive ] = useState< boolean >( false );
4141
const [ context, setContext ] = useState< boolean >( false );
4242

43-
// Reference to the first field inside the modal
43+
// Reference to the first field inside the modal.
4444
const searchFieldRef = useRef< HTMLInputElement | null >( null );
4545

4646
/**
@@ -58,7 +58,7 @@ const SearchReplaceForBlockEditor = (): JSX.Element => {
5858
.getSelection()
5959
.toString();
6060

61-
// By default, reset count and search input.
61+
// By default, reset count, search & replace inputs.
6262
if ( ! selectedText ) {
6363
setReplacements( 0 );
6464
setSearchInput( '' );

0 commit comments

Comments
 (0)