pastoria 2.0.0 → 2.0.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "pastoria",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Pastoria Development CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -332,6 +332,9 @@ export function router__createAppFromEntryPoint(
332
332
  );
333
333
 
334
334
  useMemo(() => {
335
+ // Skip during SSR - entry point is already loaded before rendering
336
+ if (typeof window === 'undefined') return;
337
+
335
338
  const route = location.route();
336
339
  if (route) {
337
340
  // Cast needed for same reason as loadRouteEntryPoint - see that function's docs