From cef7f9817634a5dabe29340070680b37131312a2 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Wed, 19 Jul 2023 20:43:49 +1200 Subject: [PATCH] Use existing makeActive function --- client/homebrew/pages/accountPage/accountPage.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/homebrew/pages/accountPage/accountPage.jsx b/client/homebrew/pages/accountPage/accountPage.jsx index ad6bcdb61..6b5a17dfc 100644 --- a/client/homebrew/pages/accountPage/accountPage.jsx +++ b/client/homebrew/pages/accountPage/accountPage.jsx @@ -41,9 +41,7 @@ const AccountPage = createClass({ saveLocation = 'GOOGLE-DRIVE'; } }; - this.setState({ - saveLocation : saveLocation - }); + this.makeActive(saveLocation); } },