Prettier code layout

This commit is contained in:
Dan Q 2023-09-29 11:02:48 +01:00
parent b0b2afd26d
commit 5959ecee7f
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ async function fetchSearchResults(
* Product card component expects a Product type.
* So we build that object from the API response.
*/
const products = (json as SearchAPIJSONType).products.map(
const products = ( json as SearchAPIJSONType ).products.map(
( product: SearchAPIProductType ): Product => {
return {
id: product.id,