diff --git a/contributors.yml b/contributors.yml index 89ee00b892f..8b327cbb526 100644 --- a/contributors.yml +++ b/contributors.yml @@ -8,6 +8,7 @@ - arange - archwebio - arganaphangquestian +- arvigeus - AriGunawan - ascorbic - ashleyryan diff --git a/docs/api/conventions.md b/docs/api/conventions.md index 63f7520f9da..c310cf764a6 100644 --- a/docs/api/conventions.md +++ b/docs/api/conventions.md @@ -52,7 +52,7 @@ exports.routes = async (defineRoutes) => { // A common use for this is catchall routes. // - The first argument is the React Router path to match against // - The second is the relative filename of the route handler - route("/some/path/*", "catchall.tsx") + route("/some/path/*", "catchall.tsx"); // if you want to nest routes, use the optional callback argument route("some/:path", "some/route/file.js", () => { @@ -61,7 +61,7 @@ exports.routes = async (defineRoutes) => { route("relative/path", "some/other/file") }); - } + }) } ```