Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update scim-modal.tsx

Steven Tey0bd07488049b
diff --git a/components/app/modals/scim-modal.tsx b/components/app/modals/scim-modal.tsx
index e8edc33fa5..333d92bf54 100644
--- a/components/app/modals/scim-modal.tsx
+++ b/components/app/modals/scim-modal.tsx
@@ -35,8 +35,8 @@ function SCIMModal({
const [copiedBearerToken, setCopiedBearerToken] = useState(false);
const currentProvider = useMemo(
- () => SAML_PROVIDERS.find((p) => p.scim === provider),
- [provider],
+ () => SAML_PROVIDERS.find((p) => p.scim === selectedProvider),
+ [selectedProvider],
) as SAMLProviderProps;
return (