@rileybathurst/paddle 0.0.66 → 0.0.68

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/PaddleSEO.tsx +11 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.66",
4
+ "version": "0.0.68",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/src/PaddleSEO.tsx CHANGED
@@ -11,13 +11,21 @@ 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: testing
15
- if (!breadcrumbs) return null;
16
-
17
14
  // remove the breadcrumbs.url from the Object.entries
18
15
  // console.log(breadcrumbs.url);
19
16
  const { url, ...rest } = breadcrumbs;
20
17
 
18
+ console.log(breadcrumbs);
19
+ console.log(rest);
20
+
21
+ // TODO: testing
22
+ if (!rest) {
23
+ console.error('🦖');
24
+ return null;
25
+ }
26
+
27
+ console.log('🦊');
28
+
21
29
  // console.log(rest);
22
30
 
23
31
  return (