🐛 Removed trim as this blocked using space char (#1340)

This commit is contained in:
Tagaishi
2023-09-01 17:12:34 +02:00
committed by GitHub
parent 106795e1be
commit 78627f7b51
4 changed files with 8 additions and 12 deletions

View File

@@ -16,8 +16,7 @@ export const FaviconChanger = () => {
if (!configName) return null;
const handleChange: ChangeEventHandler<HTMLInputElement> = (ev) => {
const { value } = ev.currentTarget;
const faviconUrl = value.trim();
const { value: faviconUrl } = ev.currentTarget;
setFaviconUrl(faviconUrl);
updateConfig(configName, (prev) => ({
...prev,