diff --git a/changelog.md b/changelog.md index 99108c7..68c7993 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,7 @@ - Fixed relative URLs to project files in the readme. - Corrected an example shell script in the readme. +- Tweaked example code in the readme. - Removed a redundant image from the `.github` directory. ## 1.0.0 diff --git a/readme.md b/readme.md index 607b330..fd81d31 100644 --- a/readme.md +++ b/readme.md @@ -345,12 +345,12 @@ A Ruck project contains: } /** - * Handles a dynamic import error for a styled route. + * Catches a dynamic import error for route content with CSS. * @param {Error} cause Import error. * @returns {import("ruck/routeDetailsForContentWithCss.mjs").RouteContentWithCss} */ function catchImportContentWithCss(cause) { - console.error(new Error("Styled route import rejection.", { cause })); + console.error(new Error("Import rejection for route with CSS.", { cause })); return { content: h(PageError, {