[wccom-17942] Making sure snackbar doesn't appear before content has loaded.

- Fixing `prettier` linter errors.
This commit is contained in:
And Finally 2023-09-04 16:00:30 +01:00
parent 6d65d54ed5
commit 21d1bab26e
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -109,7 +109,7 @@ export default function FeedbackModal(): JSX.Element {
return () => {
clearTimeout( timer );
}
};
}
function showSnackbar() {

View File

@ -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';