Move misplaced log abt initializing query text to appropriate place
This commit is contained in:
1 parent
659e387841
commit
2241da9f9e
1 file changed
+1
-1
@@ -23,10 +23,10 @@ const QueryControl = (props) => {
|
||||
// Init text field (unless a non-empty string is already present, or the user has modified
|
||||
// the query - we don't want to overwrite their changes).
|
||||
if (queryTextChangeTime == null || queryTextResetTime > queryTextChangeTime) {
|
||||
console.info(`Initializing query text: ${queryText}`)
|
||||
textInput.current.value = queryText;
|
||||
}
|
||||
}, [queryText, queryTextChangeTime, queryTextResetTime]);
|
||||
console.info(`Initializing query input form with text: ${queryText}`)
|
||||
const onClearClick = () => {
|
||||
textInput.current.value = '';
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user