Skip to content

Commit a9a95b4

Browse files
committed
Remove mocks
1 parent 624c399 commit a9a95b4

File tree

1 file changed

+2
-2
lines changed
  • src/components/Agentic/IncidentDirectives

1 file changed

+2
-2
lines changed

src/components/Agentic/IncidentDirectives/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import * as s from "./styles";
2525
import type { ColumnMeta, ExtendedDirective } from "./types";
2626

2727
// TODO: remove
28+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2829
const mockData: Directive[] = [
2930
{
3031
id: "1",
@@ -170,8 +171,7 @@ export const IncidentDirectives = () => {
170171
// return conditionMatch || directiveMatch;
171172
// });
172173

173-
// TODO: remove mock data
174-
return (data?.directives ?? mockData)?.map((item, index) => ({
174+
return data?.directives?.map((item, index) => ({
175175
...item,
176176
number: index + 1,
177177
isSelected: selectedConditions.includes(item.id)

0 commit comments

Comments
 (0)