homeflowjs 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@ This project uses Yarn to manage dependencies. Run `yarn` to install them.
6
6
 
7
7
  ## Usage
8
8
 
9
- Please see the [HomeflowJS developer documentation](https://developer.homeflow.co.uk/homeflowjs-docs/docs) for details on usage.
9
+ Please see the [HomeflowJS developer documentation](https://developer.homeflow.co.uk/homeflowjs-docs/docs) for instructions on usage.
10
10
 
11
11
  ## Local Development
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -33,7 +33,7 @@ const SavedSearch = (props) => {
33
33
 
34
34
  const visitSearch = (e) => {
35
35
  e.preventDefault();
36
- const tagsWithoutRemovedFromSearchTags = search?.tags.filter((tag) => tag.charAt(0) !== '!');
36
+ const tagsWithoutRemovedFromSearchTags = search?.tags?.filter((tag) => tag.charAt(0) !== '!');
37
37
  const searchWithoutRemovedFromSearchTags = {
38
38
  ...search, tags: tagsWithoutRemovedFromSearchTags?.map((tag) => tag.toLowerCase()),
39
39
  };