Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix formatting in collections.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarun Vijwani committed Dec 8, 2023
1 parent e4c9a6f commit 612c50c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The Collections Store allows to retrieve product-related collections within WooC
To utilize this store you will import the COLLECTIONS_STORE_KEY in any module referencing it. Assuming `@woocommerce/block-data` is registered as an external pointing to `wc.wcBlocksData` you can import the key via:

```js
const { COLLECTIONS_STORE_KEY } =window.wc.wcBlocksData;
const { COLLECTIONS_STORE_KEY } = window.wc.wcBlocksData;
```

## Actions
Expand Down Expand Up @@ -109,7 +109,7 @@ This selector will return the state from the collections store.

or

- `array | null | undefined`: Returns a fallback value (specified as a parameter) when the collection lacks matching headers for the provided arguments.
- `array` | `null` | `undefined`: Returns a fallback value (specified as a parameter) when the collection lacks matching headers for the provided arguments.

#### _Example_ <!-- omit in toc -->

Expand Down

0 comments on commit 612c50c

Please sign in to comment.