From 01613c4616efcbf0e738afe89e76dd8748a32079 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 6 Mar 2023 12:33:23 +0100 Subject: [PATCH] Revert "trim github token" This reverts commit 0e37f712b25e574b07f4079a4f301136ced1e6d2. --- libs/remix-ui/settings/src/lib/github-settings.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/remix-ui/settings/src/lib/github-settings.tsx b/libs/remix-ui/settings/src/lib/github-settings.tsx index 5a873290d7..134b967230 100644 --- a/libs/remix-ui/settings/src/lib/github-settings.tsx +++ b/libs/remix-ui/settings/src/lib/github-settings.tsx @@ -25,8 +25,7 @@ export function GithubSettings (props: GithubSettingsProps) { }, [props.config]) const handleChangeTokenState = (event) => { - const token = event.target.value ? event.target.value.trim() : event.target.value - setGithubToken(token) + setGithubToken(event.target.value) } const handleChangeUserNameState = (event) => {