Skip to content

Commit 606065d

Browse files
committed
fix tests
1 parent 2fed231 commit 606065d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/render.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ impl<W: std::io::Write> RenderContext<W> {
362362
| "cookie" | "authentication"),
363363
),
364364
) => {
365-
bail!("{component_name} cannot be used after data has already been sent to the client's browser. \
365+
bail!("The {component_name} component cannot be used after data has already been sent to the client's browser. \
366366
This component must be used before any other component. \
367-
To fix this, either move the call to '{component_name}' component to the top of the SQL file, or create a new SQL file where the {component_name} component is the first component.");
367+
To fix this, either move the call to the '{component_name}' component to the top of the SQL file, or create a new SQL file where '{component_name}' is the first component.");
368368
}
369369
(_current_component, Some(new_component)) => {
370370
self.open_component_with_data(new_component, &data).await?;

0 commit comments

Comments
 (0)