Skip to content

Commit

Permalink
Changed imports from view and canary to ui
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-harness committed Nov 26, 2024
1 parent 9a86ed9 commit db8e3f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions apps/gitness/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import {
RepoSettingsPlaceholderPage,
SandboxSettings,
SettingsAccountPage,
SettingsProjectNav,
ThemeProvider
SettingsProjectNav
} from '@harnessio/views'

import { FileEditor } from './components/FileEditor'
Expand Down Expand Up @@ -66,6 +65,7 @@ import { CreateNewUserContainer } from './pages/user-management/create-new-user-
import { UserManagementPageContainer } from './pages/user-management/user-management-container'
import { CreateWebhookContainer } from './pages/webhooks/create-webhook-container'
import RepoWebhooksListPage from './pages/webhooks/repo-webhook-list'
import { ThemeProvider } from '@harnessio/ui/views'

const BASE_URL_PREFIX = `${window.apiUrl || ''}/api/v1`

Expand Down Expand Up @@ -110,6 +110,10 @@ export default function App() {
{
path: ':spaceId/repos',
element: <ReposListPage />
},
{
path: 'theme',
element: <SettingsAccountThemePage />
}
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Spacer, Text } from '@harnessio/canary'
import { SandboxLayout, ThemeSelector } from '@harnessio/views'
import { Spacer, Text } from '@harnessio/ui/components'
import { SandboxLayout, ThemeSelector } from '@harnessio/ui/views'

const SettingsAccountThemePage: React.FC = () => {
return (
Expand Down

0 comments on commit db8e3f3

Please sign in to comment.