diff --git a/web/src/app/app/datasets/[datasetId]/permissions/PermissionAppSegments.tsx b/web/src/app/app/datasets/[datasetId]/permissions/PermissionAppSegments.tsx index 5e1f3b708..4d6480256 100644 --- a/web/src/app/app/datasets/[datasetId]/permissions/PermissionAppSegments.tsx +++ b/web/src/app/app/datasets/[datasetId]/permissions/PermissionAppSegments.tsx @@ -1,6 +1,6 @@ 'use client'; -import React, { useState } from 'react'; +import React from 'react'; import { AppSegmented } from '@/components'; import { PermissionApps } from './config'; import { useMemoizedFn, useSet } from 'ahooks'; @@ -10,7 +10,7 @@ import { useDatasetListDatasetGroups, useDatasetListPermissionGroups, useDatasetListPermissionUsers -} from '@/api/busterv2'; +} from '@/api/buster-rest'; export const PermissionAppSegments: React.FC<{ selectedApp: PermissionApps; diff --git a/web/src/components/list/BusterList/BusterListReactWindow.tsx b/web/src/components/list/BusterList/BusterListReactWindow.tsx index 759c182ec..ba650a882 100644 --- a/web/src/components/list/BusterList/BusterListReactWindow.tsx +++ b/web/src/components/list/BusterList/BusterListReactWindow.tsx @@ -194,5 +194,5 @@ export const BusterListReactWindow: React.FC = ({ ); }; -BusterListReactWindow.displayName = 'BusterList'; +BusterListReactWindow.displayName = 'BusterListReactWindow'; // Add a memoized checkbox component