Skip to content

Commit

Permalink
Merge branch 'learnathon-2' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
paritshivani authored Oct 8, 2024
2 parents 82eaf3f + 9299f84 commit 83c1281
Show file tree
Hide file tree
Showing 3 changed files with 273 additions and 175 deletions.
5 changes: 2 additions & 3 deletions packages/nulp_elite/src/components/learnathon/LernModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const LernModal = () => {

const [lernUser, setLernUser] = useState([]);
const _userId = util.userId();

const handleClose = () => {
setIsModalOpen(false);
sessionStorage.setItem('isModalShown', 'true'); // Set flag to not show modal again
Expand Down Expand Up @@ -53,7 +52,7 @@ const LernModal = () => {
p: 4,
overflow: "auto",
};

console.log(lernUser,'lernUser form modal');
return (
<div>
<Modal
Expand Down Expand Up @@ -84,7 +83,7 @@ const LernModal = () => {
</Typography>
</Box>
<Box className='lg-mt-30'>
{lernUser === 'nulp-lern' ? (
{lernUser === 'nulp-learn' ? (
<a class="viewAll">{t("CREATE_CONTENT")}</a>
) : (
<a class="viewAll">{t("REQUEST_TO_CREATE")}</a>
Expand Down
Loading

0 comments on commit 83c1281

Please sign in to comment.