From 48436e5c1883ecb968fb93e7fd99fade26ba6ff4 Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Fri, 17 Jan 2025 08:55:16 -0800 Subject: [PATCH] Update web/src/components/list/BusterList/BusterListReactWindow.tsx Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --- .../[datasetId]/permissions/PermissionAppSegments.tsx | 4 ++-- web/src/components/list/BusterList/BusterListReactWindow.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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