From d328172d10a0ea6bd9654bd0ff23702201da2968 Mon Sep 17 00:00:00 2001 From: Manuel Schiller Date: Wed, 11 Sep 2024 09:46:31 +0200 Subject: [PATCH] chore: no braces for strings in JSX --- docs/framework/react/start/server-functions.md | 2 +- examples/react/basic-default-search-params/src/main.tsx | 2 +- .../basic-file-based-codesplitting/src/routes/__root.tsx | 2 +- examples/react/basic-file-based/src/routes/__root.tsx | 2 +- .../react/basic-react-query-file-based/src/routes/__root.tsx | 2 +- examples/react/basic-react-query/src/main.tsx | 2 +- .../react/basic-ssr-streaming-file-based/src/routes/index.tsx | 2 +- examples/react/basic-virtual-file-based/src/routes/root.tsx | 2 +- .../basic-virtual-inside-file-based/src/routes/__root.tsx | 2 +- examples/react/basic/src/main.tsx | 2 +- examples/react/deferred-data/src/main.tsx | 2 +- examples/react/location-masking/src/main.tsx | 2 +- examples/react/navigation-blocking/src/main.tsx | 2 +- examples/react/quickstart-file-based/src/routes/__root.tsx | 2 +- .../react/quickstart-rspack-file-based/src/routes/__root.tsx | 2 +- .../react/quickstart-webpack-file-based/src/routes/__root.tsx | 2 +- examples/react/start-basic-auth/app/routes/__root.tsx | 2 +- examples/react/start-basic-react-query/app/routes/__root.tsx | 4 ++-- examples/react/start-basic-rsc/app/routes/__root.tsx | 2 +- examples/react/start-basic/app/routes/__root.tsx | 4 ++-- examples/react/start-clerk-basic/app/routes/__root.tsx | 2 +- examples/react/start-supabase-basic/app/routes/__root.tsx | 2 +- examples/react/with-framer-motion/src/main.tsx | 2 +- packages/create-router/templates/core/src/routes/__root.tsx | 2 +- 24 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/framework/react/start/server-functions.md b/docs/framework/react/start/server-functions.md index 379fd6c4bb..1fc5de3648 100644 --- a/docs/framework/react/start/server-functions.md +++ b/docs/framework/react/start/server-functions.md @@ -587,7 +587,7 @@ function Home() {
diff --git a/examples/react/basic-default-search-params/src/main.tsx b/examples/react/basic-default-search-params/src/main.tsx index d2173d4047..e2331794c3 100644 --- a/examples/react/basic-default-search-params/src/main.tsx +++ b/examples/react/basic-default-search-params/src/main.tsx @@ -68,7 +68,7 @@ function RootComponent() { Home {' '} {' '} {' '} {' '} {' '}

Welcome Home!

Data: {data.date.getDate()}

- + {(data) =>

Deferred: {data.date.getDate()}

}
diff --git a/examples/react/basic-virtual-file-based/src/routes/root.tsx b/examples/react/basic-virtual-file-based/src/routes/root.tsx index bd82cdf6a5..05ac9527f3 100644 --- a/examples/react/basic-virtual-file-based/src/routes/root.tsx +++ b/examples/react/basic-virtual-file-based/src/routes/root.tsx @@ -28,7 +28,7 @@ function RootComponent() { Home {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '} {' '}