File tree Expand file tree Collapse file tree
src/common-components/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ interface ThirdPartyAuthContextType {
1212 } ;
1313 thirdPartyAuthApiStatus : string | null ;
1414 thirdPartyAuthContext : {
15+ platformName : string | null ;
1516 autoSubmitRegForm : boolean ;
1617 currentProvider : string | null ;
1718 finishAuthUrl : string | null ;
@@ -42,6 +43,7 @@ export const ThirdPartyAuthProvider: FC<ThirdPartyAuthProviderProps> = ({ childr
4243 } ) ;
4344 const [ thirdPartyAuthApiStatus , setThirdPartyAuthApiStatus ] = useState < string | null > ( null ) ;
4445 const [ thirdPartyAuthContext , setThirdPartyAuthContext ] = useState ( {
46+ platformName : null ,
4547 autoSubmitRegForm : false ,
4648 currentProvider : null ,
4749 finishAuthUrl : null ,
@@ -63,6 +65,7 @@ export const ThirdPartyAuthProvider: FC<ThirdPartyAuthProviderProps> = ({ childr
6365 setFieldDescriptions ( fieldDescData ?. fields || { } ) ;
6466 setOptionalFields ( optionalFieldsData || { fields : { } , extended_profile : [ ] } ) ;
6567 setThirdPartyAuthContext ( contextData || {
68+ platformName : null ,
6669 autoSubmitRegForm : false ,
6770 currentProvider : null ,
6871 finishAuthUrl : null ,
You can’t perform that action at this time.
0 commit comments