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