From 05dd986727498437656ad13e3d3b3deefa1ec10e Mon Sep 17 00:00:00 2001 From: Kim Jeong-won Date: Wed, 21 Feb 2024 21:23:35 +0900 Subject: [PATCH] feat: use click outside action --- src/routes/practice/(practice)/+layout.svelte | 7 +++++- src/utils/hooks/click-outside.ts | 25 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/utils/hooks/click-outside.ts diff --git a/src/routes/practice/(practice)/+layout.svelte b/src/routes/practice/(practice)/+layout.svelte index 2eb8150..677a8c2 100644 --- a/src/routes/practice/(practice)/+layout.svelte +++ b/src/routes/practice/(practice)/+layout.svelte @@ -1,4 +1,5 @@