Skip to content

Commit

Permalink
πŸ› Prevent the query from being passed directly to the server renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Mar 30, 2024
1 parent b91074a commit 03a4ee1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/macro/src/utils/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ pub fn root(input: DeriveApp) -> TokenStream {
use ::stylist::manager::{render_static, StyleManager};
use ::yew::ServerRenderer;

let url = url.split('?').next().unwrap().to_string();
let (writer, reader) = render_static();

let renderer = ServerRenderer::<<#ident as ::hikari_boot::Application>::ServerApp>::with_props({
Expand Down

0 comments on commit 03a4ee1

Please sign in to comment.