File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { UiIcon } from '@pubkey-link/web-core-ui'
77import { UserLogFeature } from '@pubkey-link/web-log-feature'
88import { UserRoleFeature } from '@pubkey-link/web-role-feature'
99import { UserSnapshotFeature } from '@pubkey-link/web-snapshot-feature'
10- import { UiGridRoute , UiGridRoutes } from '@pubkey-ui/core'
10+ import { UiTabRoute , UiTabRoutes } from '@pubkey-ui/core'
1111import { IconBrandDiscord , IconPhotoHeart } from '@tabler/icons-react'
1212import { lazy } from 'react'
1313
@@ -27,7 +27,7 @@ export function UserCommunityDetailFeatureAdmin({
2727
2828 const hasSnapshots = hasFeature ( AppFeature . CommunitySnapshots )
2929
30- const routes : UiGridRoute [ ] = [
30+ const routes : UiTabRoute [ ] = [
3131 {
3232 path : 'dashboard' ,
3333 label : 'Dashboard' ,
@@ -77,7 +77,7 @@ export function UserCommunityDetailFeatureAdmin({
7777 element : < RouteSettings community = { item } /> ,
7878 leftSection : < UiIcon type = "settings" size = { 20 } /> ,
7979 } ,
80- ] . filter ( Boolean ) as UiGridRoute [ ]
80+ ] . filter ( Boolean ) as UiTabRoute [ ]
8181
82- return < UiGridRoutes basePath = { `/c/${ communityId } ` } routes = { routes } />
82+ return < UiTabRoutes basePath = { `/c/${ communityId } ` } tabs = { routes } />
8383}
You can’t perform that action at this time.
0 commit comments