Skip to content

Commit

Permalink
feat: implement registration happy path
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii committed Apr 3, 2024
1 parent 7f21f8c commit b098088
Show file tree
Hide file tree
Showing 24 changed files with 857 additions and 158 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ module.exports = createConfig('eslint', {
},
},
],
'no-param-reassign': ['error', {
props: true,
ignorePropertyModificationsFor: [
'state',
],
}],
},
});
5 changes: 2 additions & 3 deletions example/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ import { AppProvider } from '@edx/frontend-platform/react';
import { initialize, subscribe, APP_READY } from '@edx/frontend-platform';

import './index.scss';
import AuthnComponent from "../src/authn-component";

subscribe(APP_READY, () => {
ReactDOM.render(
<AppProvider>
<div>Load the forms here</div>
</AppProvider>,
<AuthnComponent setOpen={()=>{}} open={true} />,
document.getElementById('root'),
);
});
Expand Down
Loading

0 comments on commit b098088

Please sign in to comment.