Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ousmaneo committed Aug 20, 2024
1 parent 39c129d commit 46383bf
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (C) 2020 Graylog, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Server Side Public License for more details.
*
* You should have received a copy of the Server Side Public License
* along with this program. If not, see
* <http://www.mongodb.com/licensing/server-side-public-license>.
*/
import * as React from 'react';
import { useMemo } from 'react';
import { useQuery } from '@tanstack/react-query';
Expand Down Expand Up @@ -47,7 +63,7 @@ const StreamDeleteModal = ({ onDelete, streamId, streamTitle, onCancel }: Props)
btnConfirmDisabled={shouldShowWarning}
onCancel={onCancel}
title="Delete Stream">
{shouldShowWarning ? <DataWarehouseStreamDeleteWarning /> : `Do you really want to remove stream: ${streamTitle}?`}
{shouldShowWarning ? <DataWarehouseStreamDeleteWarning /> : `Do you really want to remove stream: ${streamTitle}?`}
</ConfirmDialog>
);
};
Expand Down

0 comments on commit 46383bf

Please sign in to comment.