@rileybathurst/paddle 0.0.65 → 0.0.66

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.65",
4
+ "version": "0.0.66",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/src/PaddleSEO.tsx CHANGED
@@ -11,8 +11,8 @@ interface BreadcrumbsTypes {
11
11
  // I could probably pass it two arguments instead but for now
12
12
  function Breadcrumbs(breadcrumbs: BreadcrumbsTypes) {
13
13
 
14
- // TODO: this was pushing on index with !
15
- if (Object.entries(breadcrumbs).length === 0) return null;
14
+ // TODO: testing
15
+ if (!breadcrumbs) return null;
16
16
 
17
17
  // remove the breadcrumbs.url from the Object.entries
18
18
  // console.log(breadcrumbs.url);