From f76aff3ebf08ca222fd9cf236cc101bf32204e13 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:05:43 -0500 Subject: [PATCH] Move Updater Buttons --- src/components/VencordSettings/UpdaterTab.tsx | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/src/components/VencordSettings/UpdaterTab.tsx b/src/components/VencordSettings/UpdaterTab.tsx index 50183c9c..7090d3e2 100644 --- a/src/components/VencordSettings/UpdaterTab.tsx +++ b/src/components/VencordSettings/UpdaterTab.tsx @@ -111,21 +111,6 @@ function Updatable(props: CommonProps) { return ( <> - {!updates && updateError ? ( - <> - Failed to check updates. Check the console for more info - - {updateError.stderr || updateError.stdout || "An unknown error occurred"} - - > - ) : ( - - {isOutdated ? (updates.length === 1 ? "There is 1 Update" : `There are ${updates.length} Updates`) : "Up to Date!"} - - )} - - {isOutdated && } - {isOutdated && + {!updates && updateError ? ( + <> + Failed to check updates. Check the console for more info + + ) : ( + + {isOutdated ? (updates.length === 1 ? "There is 1 Update" : `There are ${updates.length} Updates`) : "Up to Date!"} + + )} + + {isOutdated && } > ); }
{updateError.stderr || updateError.stdout || "An unknown error occurred"}