Skip to content

Commit 4fd87e3

Browse files
committed
Change vscode message
1 parent ffdc923 commit 4fd87e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/app/src/app/store/factories.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ export function updateSandboxUrl(sandbox) {
101101
};
102102
}
103103

104-
const shouldShowThemingOption = when(state`isLoggedIn`, () => {
105-
if (document.cookie.includes('theming-seen=1')) {
104+
const shouldShowVSCodeOption = when(state`isLoggedIn`, () => {
105+
if (document.cookie.includes('vscode-seen=1')) {
106106
return false;
107107
}
108108

109-
document.cookie = 'theming-seen=1; Path=/;';
109+
document.cookie = 'vscode-seen=1; Path=/;';
110110

111111
return true;
112112
});
@@ -124,11 +124,11 @@ export function withLoadApp(continueSequence) {
124124
actions.setKeybindings,
125125
actions.startKeybindings,
126126

127-
shouldShowThemingOption,
127+
shouldShowVSCodeOption,
128128
{
129129
true: [
130130
addNotification(
131-
'You can now use your VSCode theme on CodeSandbox! Check it out in your preferences.',
131+
'You can now open VSCode directly in CodeSandbox, enable it in Preferences under experiments!',
132132
'notice',
133133
60 // a minute
134134
),

0 commit comments

Comments
 (0)