From 46383bfc1ad2606e0f26fe23e95cedd430d9d99e Mon Sep 17 00:00:00 2001 From: Ousmane Samba Date: Tue, 20 Aug 2024 16:56:21 +0200 Subject: [PATCH] fix linter --- .../StreamsOverview/StreamDeleteModal.tsx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/graylog2-web-interface/src/components/streams/StreamsOverview/StreamDeleteModal.tsx b/graylog2-web-interface/src/components/streams/StreamsOverview/StreamDeleteModal.tsx index 623ad8355517..a8b23fb498cf 100644 --- a/graylog2-web-interface/src/components/streams/StreamsOverview/StreamDeleteModal.tsx +++ b/graylog2-web-interface/src/components/streams/StreamsOverview/StreamDeleteModal.tsx @@ -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 + * . + */ import * as React from 'react'; import { useMemo } from 'react'; import { useQuery } from '@tanstack/react-query'; @@ -47,7 +63,7 @@ const StreamDeleteModal = ({ onDelete, streamId, streamTitle, onCancel }: Props) btnConfirmDisabled={shouldShowWarning} onCancel={onCancel} title="Delete Stream"> - {shouldShowWarning ? : `Do you really want to remove stream: ${streamTitle}?`} + {shouldShowWarning ? : `Do you really want to remove stream: ${streamTitle}?`} ); };