From 1bd270690efee53371dd65c6bc00bf45a404aba7 Mon Sep 17 00:00:00 2001 From: Adeel Nawaz Date: Thu, 24 Oct 2024 22:30:51 +0500 Subject: [PATCH] trim name param --- src/pages/Search/SavedSearchRenamePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Search/SavedSearchRenamePage.tsx b/src/pages/Search/SavedSearchRenamePage.tsx index 19bc862d82db..7b2cdbc620b1 100644 --- a/src/pages/Search/SavedSearchRenamePage.tsx +++ b/src/pages/Search/SavedSearchRenamePage.tsx @@ -28,7 +28,7 @@ function SavedSearchRenamePage({route}: {route: {params: {q: string; name: strin Navigation.navigate( ROUTES.SEARCH_CENTRAL_PANE.getRoute({ query: q, - name: newName, + name: newName.trim(), }), ); };