@unsetsoft/ryunixjs 0.4.13-nightly.4 → 0.4.13-nightly.5

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/dist/Ryunix.js CHANGED
@@ -283,7 +283,7 @@
283
283
  }
284
284
  }, [currentPath]);
285
285
 
286
- return currentPath === path ? component() : null
286
+ return currentPath === path && component()
287
287
  };
288
288
 
289
289
  const Navigate = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunixjs",
3
- "version": "0.4.13-nightly.4",
3
+ "version": "0.4.13-nightly.5",
4
4
  "license": "MIT",
5
5
  "main": "./dist/Ryunix.js",
6
6
  "private": false,
@@ -19,7 +19,7 @@ const Router = ({ path, component }) => {
19
19
  }
20
20
  }, [currentPath])
21
21
 
22
- return currentPath === path ? component() : null
22
+ return currentPath === path && component()
23
23
  }
24
24
 
25
25
  const Navigate = () => {