From 59a2c606f8d2adf98475f25d382f65e5644cb1a0 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Wed, 10 Jan 2024 05:59:12 -0600 Subject: [PATCH] fix(waku): link props (#360) * fix(waku): link props * fix: code * fix: improve code --- e2e/fixtures/rsc-router/src/routes/layout.tsx | 4 +- examples/07_router/src/components/Counter.tsx | 2 +- .../07_router/src/components/HomeLayout.tsx | 16 +++--- .../src/components/Counter.tsx | 2 +- .../10_dynamicroute/src/routes/layout.tsx | 10 ++-- packages/waku/src/router/client.ts | 49 +++++++++++++------ 6 files changed, 51 insertions(+), 32 deletions(-) diff --git a/e2e/fixtures/rsc-router/src/routes/layout.tsx b/e2e/fixtures/rsc-router/src/routes/layout.tsx index 8bd393f5c..e75db58f3 100644 --- a/e2e/fixtures/rsc-router/src/routes/layout.tsx +++ b/e2e/fixtures/rsc-router/src/routes/layout.tsx @@ -20,7 +20,7 @@ const HomeLayout = ({ children }: { children: ReactNode }) => (