Skip to content

Commit ca6777d

Browse files
Open WSs in a new tab by default (#95)
1 parent 46c09de commit ca6777d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/button/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface GitpodButtonProps {
1414

1515
export const GitpodButton = ({ application, additionalClassNames }: GitpodButtonProps) => {
1616
const [address] = useStorage<string>(STORAGE_KEY_ADDRESS, DEFAULT_GITPOD_ENDPOINT);
17-
const [openInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, false);
17+
const [openInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, true);
1818

1919
const [showDropdown, setShowDropdown] = useState(false);
2020
const actions = [

src/popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function IndexPopup() {
3131
setAddress(storedAddress);
3232
}, [storedAddress])
3333

34-
const [openInNewTab, setOpenInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, false);
34+
const [openInNewTab, setOpenInNewTab] = useStorage<boolean>(STORAGE_KEY_NEW_TAB, true);
3535
const [automaticallyDetect, setAutomaticallyDetect] = useStorage<boolean>(STORAGE_AUTOMATICALLY_DETECT_GITPOD, true);
3636

3737
return (

0 commit comments

Comments
 (0)