From 612c50c777d8e8d9b39c519173d6b19a194ec534 Mon Sep 17 00:00:00 2001 From: Tarun Vijwani Date: Fri, 8 Dec 2023 18:56:15 +0400 Subject: [PATCH] Fix formatting in collections.md --- .../extensibility/data-store/collections.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/third-party-developers/extensibility/data-store/collections.md b/docs/third-party-developers/extensibility/data-store/collections.md index 0d9df55e366..710928a8946 100644 --- a/docs/third-party-developers/extensibility/data-store/collections.md +++ b/docs/third-party-developers/extensibility/data-store/collections.md @@ -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 @@ -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_