Prettier code layout
This commit is contained in:
parent
b0b2afd26d
commit
5959ecee7f
|
@ -107,7 +107,7 @@ async function fetchSearchResults(
|
||||||
* Product card component expects a Product type.
|
* Product card component expects a Product type.
|
||||||
* So we build that object from the API response.
|
* 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 => {
|
( product: SearchAPIProductType ): Product => {
|
||||||
return {
|
return {
|
||||||
id: product.id,
|
id: product.id,
|
||||||
|
|
Loading…
Reference in New Issue