chore: added help cards to platform dashboard (#15218)

* added cards to platform dashboard

* nit

* move help cards into its own component

* help cards component

* utils for platform

* fix icon type prop

* fix icon

---------

Co-authored-by: Rajiv Sahal <[email protected]>
Co-authored-by: Rajiv Sahal <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-05-29 13:58:18 +00:00
1 parent d19034c2d5
commit 17f328fc5e
3 files changed
+136

No files matched your search

@@ -11,6 +11,7 @@ import {
import { useDeleteOAuthClient } from "@lib/hooks/settings/platform/oauth-clients/usePersistOAuthClient";
import PageWrapper from "@components/PageWrapper";
import { HelpCards } from "@components/settings/platform/dashboard/HelpCards";
import { ManagedUserList } from "@components/settings/platform/dashboard/managed-user-list";
import { OAuthClientsList } from "@components/settings/platform/dashboard/oauth-clients-list";
import { useGetUserAttributes } from "@components/settings/platform/hooks/useGetUserAttributes";
@@ -68,6 +69,7 @@ export default function Platform() {
withoutMain={false}
subtitle="Manage everything related to platform."
isPlatformUser={true}>
<HelpCards />
<OAuthClientsList oauthClients={data} isDeleting={isDeleting} handleDelete={handleDelete} />
<ManagedUserList
oauthClients={data}