From a96eb9528d3cf8048484b4e7d6062d1d20a99e89 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Thu, 20 Feb 2025 19:57:21 +1100 Subject: [PATCH] refactor: playground updated for remove onSelect callback from SingleWeekPicker and adjust layout in app component --- playground/app.scss | 1 - playground/app.tsx | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/playground/app.scss b/playground/app.scss index b471a02..ba7f0e0 100644 --- a/playground/app.scss +++ b/playground/app.scss @@ -11,7 +11,6 @@ body { align-items: center; .border { display: flex; - flex-direction: column; gap: 0.5rem; > * { background: #fff; diff --git a/playground/app.tsx b/playground/app.tsx index 4529d80..824f3c1 100644 --- a/playground/app.tsx +++ b/playground/app.tsx @@ -4,14 +4,13 @@ import './app.scss' export default () => { - function onSelect(value) { - alert(`You select ${value.weekYear} - ${value.weekNum}`) - } - return (
- + +
+
+
)