diff --git a/src-web/components/RequestPane.tsx b/src-web/components/RequestPane.tsx index eff6b671..634d8edb 100644 --- a/src-web/components/RequestPane.tsx +++ b/src-web/components/RequestPane.tsx @@ -69,7 +69,6 @@ export const RequestPane = memo(function RequestPane({ const handleContentTypeChange = useCallback( async (contentType: string | null) => { - console.log('UPDATE CONTENT TYPE', contentType); const headers = activeRequest.headers.filter((h) => h.name.toLowerCase() !== 'content-type'); if (contentType != null) { diff --git a/src-web/components/Settings/Settings.tsx b/src-web/components/Settings/Settings.tsx index 7a8d5cd1..f845f550 100644 --- a/src-web/components/Settings/Settings.tsx +++ b/src-web/components/Settings/Settings.tsx @@ -1,7 +1,7 @@ import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow'; import classNames from 'classnames'; -import React from 'react'; -import { useKeyPressEvent, useLocalStorage } from 'react-use'; +import React, { useState } from 'react'; +import { useKeyPressEvent } from 'react-use'; import { useOsInfo } from '../../hooks/useOsInfo'; import { capitalize } from '../../lib/capitalize'; import { HStack } from '../core/Stacks'; @@ -20,7 +20,7 @@ const tabs = [Tab.General, Tab.Appearance]; export const Settings = () => { const osInfo = useOsInfo(); - const [tab, setTab] = useLocalStorage('settings_tab', Tab.General); + const [tab, setTab] = useState(Tab.General); // Close settings window on escape // TODO: Could this be put in a better place? Eg. in Rust key listener when creating the window diff --git a/src-web/components/Settings/SettingsGeneral.tsx b/src-web/components/Settings/SettingsGeneral.tsx index 464073cd..02cf4a15 100644 --- a/src-web/components/Settings/SettingsGeneral.tsx +++ b/src-web/components/Settings/SettingsGeneral.tsx @@ -37,8 +37,8 @@ export function SettingsGeneral() { value={settings.updateChannel} onChange={(updateChannel) => updateSettings.mutate({ updateChannel })} options={[ - { label: 'Release', value: 'stable' }, - { label: 'Early Bird (Beta)', value: 'beta' }, + { label: 'Stable (less frequent)', value: 'stable' }, + { label: 'Beta (more frequent)', value: 'beta' }, ]} />