From a75a4d17b6d20edee356564f8108f46a61de6704 Mon Sep 17 00:00:00 2001 From: Nathaniel Parke Date: Fri, 9 Oct 2020 15:11:04 +0800 Subject: [PATCH] Fix bug with using custom endpoint --- src/components/TopBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index 1d6d3e0..832c0bd 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -60,7 +60,7 @@ export default function TopBar() { return; } const newCustomEndpoints = [...availableEndpoints.filter(e => e.custom), info]; - setEndpoint(info.name); + setEndpoint(info.endpoint); setCustomEndpoints(newCustomEndpoints); }