Skip to content

Commit

Permalink
feat: properly style unlink button as well (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Mar 1, 2024
1 parent 9c822a5 commit 5e4a32a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/react-components/ory/helpers/node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,9 @@ export const Node = ({
const nodeType = attrs.type

const isSocial =
(attrs.name === "provider" || attrs.name === "link") &&
(attrs.name === "provider" ||
attrs.name === "link" ||
attrs.name === "unlink") &&
node.group === "oidc"

const submit: ButtonSubmit = {
Expand Down

0 comments on commit 5e4a32a

Please sign in to comment.