[wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
This commit is contained in:
parent
6d65d54ed5
commit
21d1bab26e
|
@ -41,7 +41,7 @@ export default function Extensions(): JSX.Element {
|
|||
const wccomSearchEndpoint =
|
||||
MARKETPLACE_HOST +
|
||||
MARKETPLACE_SEARCH_API_PATH +
|
||||
'?' +
|
||||
'?' +
|
||||
params.toString();
|
||||
|
||||
// Fetch data from WCCOM API
|
||||
|
|
|
@ -109,7 +109,7 @@ export default function FeedbackModal(): JSX.Element {
|
|||
|
||||
return () => {
|
||||
clearTimeout( timer );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function showSnackbar() {
|
||||
|
|
|
@ -9,7 +9,7 @@ import apiFetch from '@wordpress/api-fetch';
|
|||
import { Product } from '../components/product-list/types';
|
||||
import {
|
||||
MARKETPLACE_HOST,
|
||||
MARKETPLACE_CATEGORY_API_PATH
|
||||
MARKETPLACE_CATEGORY_API_PATH,
|
||||
} from '../components/constants';
|
||||
import { CategoryAPIItem } from '../components/category-selector/types';
|
||||
import { LOCALE } from '../../utils/admin-settings';
|
||||
|
|
Loading…
Reference in New Issue