Fixes incorrect Webhook Component title (#2047)

* fixed incorrect Webhook Component title

* fixed subtitle

* fixed lint

* lint fix
This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2022-03-03 14:16:07 +00:00
1 parent 0fb44887e3
commit 52e6711d51
4 files changed
+13 -7

No files matched your search

@@ -14,6 +14,8 @@ import WebhookDialogForm from "@components/webhook/WebhookDialogForm";
import WebhookListItem, { TWebhook } from "@components/webhook/WebhookListItem";
export type WebhookListContainerType = {
title: string;
subtitle: string;
eventTypeId?: number;
};
@@ -35,11 +37,7 @@ export default function WebhookListContainer(props: WebhookListContainerType) {
query={query}
success={({ data }) => (
<>
<ShellSubHeading
className="mt-10"
title={t("Team Webhooks")}
subtitle={t("receive_cal_event_meeting_data")}
/>
<ShellSubHeading className="mt-10" title={props.title} subtitle={props.subtitle} />
<List>
<ListItem className={classNames("flex-col")}>
<div