+ { !! loader && (
+
+ ) }
{
+ if (
+ event.key === 'Backspace' &&
+ search === ''
+ ) {
+ goBack();
+ }
+ } }
/>
-
- { ! isLoading && (
-
- { __( 'No results found.' ) }
-
- ) }
- { groups.map( ( group ) => (
-
- ) ) }
-
+ { ! isLoading && (
+
+ { __( 'No results found.' ) }
+
+ ) }
+ { ! loader && (
+
+ ) }
+ { loader && (
+
+ ) }