diff --git a/src/renderer/pages/settings-page.component.tsx b/src/renderer/pages/settings-page.component.tsx index 9f68c2aa..90b6824c 100644 --- a/src/renderer/pages/settings-page.component.tsx +++ b/src/renderer/pages/settings-page.component.tsx @@ -40,7 +40,6 @@ export function SettingsPage() { const modalService: ModalService = ModalService.getInsance(); const downloaderService: BsDownloaderService = BsDownloaderService.getInstance(); const progressBarService: ProgressBarService = ProgressBarService.getInstance(); - const authService: AuthUserService = AuthUserService.getInstance(); const notificationService: NotificationService = NotificationService.getInstance(); const i18nService: I18nService = I18nService.getInstance(); const linkOpener: LinkOpenerService = LinkOpenerService.getInstance(); @@ -49,7 +48,6 @@ export function SettingsPage() { const modelsManager = ModelsManagerService.getInstance(); const {firstColor, secondColor} = useThemeColor(); - const sessionExist = useObservable(authService.sessionExist$); const themeItem: RadioItem[] = [ {id: 0, text: "pages.settings.appearance.themes.dark", value: "dark" as ThemeConfig}, @@ -133,12 +131,6 @@ export function SettingsPage() { }); } - const deleteSteamSession = () => { - if(!sessionExist){ return; } - authService.deleteSteamSession(); - notificationService.notifySuccess({title: "notifications.settings.steam.success.titles.logout", duration: 3000}); - }; - const toogleShowSupporters = () => { setShowSupporters(show => !show); @@ -196,10 +188,6 @@ export function SettingsPage() { nav(-1)} icon="close" withBar={false}/> - - - -