mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 00:09:18 +00:00
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
This commit is contained in:
parent
05cc400905
commit
b5959705b2
@ -80,7 +80,9 @@ class PopUpForm extends React.Component {
|
||||
case 'twitch':
|
||||
return `${strapi.backendURL}/connect/twitch/callback`;
|
||||
default:
|
||||
return `${strapi.backendURL}/connect/\${provider}/callback`;
|
||||
return this.props.dataToEdit
|
||||
? `${strapi.backendURL}/connect/${this.props.dataToEdit}/callback`
|
||||
: '';
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user