@clerk/clerk-js
Version:
Clerk JS library
1 lines • 721 B
JavaScript
;(globalThis.webpackChunk_clerk_clerk_js=globalThis.webpackChunk_clerk_clerk_js||[]).push([["809"],{7984:function(e,t,l){l.r(t),l.d(t,{APIKeysPage:()=>h});var r=l(9109),o=l(3799),i=l(1576),a=l(4204),s=l(2654),c=l(5579),n=l(2010);let h=()=>{let{user:e}=(0,o.aF)(),{contentRef:t}=(0,c.jh)(),{apiKeysProps:l}=(0,i.useUserProfileContext)();return e?(0,r.BX)(a.Col,{gap:4,elementDescriptor:a.descriptors.page,children:[(0,r.tZ)(s.h.Root,{children:(0,r.tZ)(s.h.Title,{localizationKey:(0,a.localizationKeys)("userProfile.apiKeysPage.title"),textVariant:"h2"})}),(0,r.tZ)(i.ApiKeysContext.Provider,{value:{componentName:"APIKeys",...l},children:(0,r.tZ)(n.APIKeysPage,{subject:e.id,revokeModalRoot:t})})]}):null}}}]);