Skip to content

Commit

Permalink
Remove extra exports from middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Tate-CC committed Jan 21, 2025
1 parent eb9ca3f commit 534095c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions javascript-modules/engines/astro-engine/lib/modules/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,3 @@ export const trySerializeLocals = (value) => {
console.warn("[Bookshop] middleware is not supported in Bookshop. Please use an editing fallback instead.");
return '';
};

// transitions.js
export const ClientRouter = () => {
console.warn("[Bookshop] view transitions are not supported in Bookshop. Please use an editing fallback instead.");
return null;
};

export const fade = (opts) => {
console.warn("[Bookshop] view transitions are not supported in Bookshop. Please use an editing fallback instead.");
return {};
};

export const slide = (opts) => {
console.warn("[Bookshop] view transitions are not supported in Bookshop. Please use an editing fallback instead.");
return {};
};

0 comments on commit 534095c

Please sign in to comment.