File tree 6 files changed +0
-512
lines changed
6 files changed +0
-512
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import Layout from "./components/Layout";
3
3
import { SubmenuContextProvidersProvider } from "./context/SubmenuContextProviders" ;
4
4
import { VscThemeProvider } from "./context/VscTheme" ;
5
5
import useSetup from "./hooks/useSetup" ;
6
- import { AddNewModel , ConfigureProvider } from "./pages/AddNewModel" ;
7
6
import ConfigPage from "./pages/config" ;
8
7
import ConfigErrorPage from "./pages/config-error" ;
9
8
import ErrorPage from "./pages/error" ;
@@ -34,14 +33,6 @@ const router = createMemoryRouter([
34
33
path : "/stats" ,
35
34
element : < Stats /> ,
36
35
} ,
37
- {
38
- path : "/addModel" ,
39
- element : < AddNewModel /> ,
40
- } ,
41
- {
42
- path : "/addModel/provider/:providerName" ,
43
- element : < ConfigureProvider /> ,
44
- } ,
45
36
{
46
37
path : ROUTES . CONFIG_ERROR ,
47
38
element : < ConfigErrorPage /> ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { AuthProvider } from "../context/Auth";
6
6
import { LocalStorageProvider } from "../context/LocalStorage" ;
7
7
import { useWebviewListener } from "../hooks/useWebviewListener" ;
8
8
import { useAppDispatch , useAppSelector } from "../redux/hooks" ;
9
- import { selectUseHub } from "../redux/selectors" ;
10
9
import { focusEdit , setEditStatus } from "../redux/slices/editModeState" ;
11
10
import {
12
11
addCodeToEdit ,
@@ -250,21 +249,6 @@ const Layout = () => {
250
249
}
251
250
} , [ location ] ) ;
252
251
253
- const useHub = useAppSelector ( selectUseHub ) ;
254
-
255
- // Existing users that have already seen the onboarding card
256
- // should be shown an intro card for hub.continue.dev
257
- // useEffect(() => {
258
- // if (useHub !== true) {
259
- // return;
260
- // }
261
- // const seenHubIntro = getLocalStorage("seenHubIntro");
262
- // if (!onboardingCard.show && !seenHubIntro) {
263
- // onboardingCard.setActiveTab("ExistingUserHubIntro");
264
- // }
265
- // setLocalStorage("seenHubIntro", true);
266
- // }, [onboardingCard.show, useHub]);
267
-
268
252
return (
269
253
< LocalStorageProvider >
270
254
< AuthProvider >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments