Skip to content

Commit

Permalink
Merge branch 'prod-main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
paritshivani authored Oct 10, 2024
2 parents 3ece1f7 + 55eb39a commit 13d24b6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 28 deletions.
2 changes: 0 additions & 2 deletions packages/nulp_elite/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const routeConfig = require("./configs/routeConfig.json");
import PopupForm from "pages/profileData";
import axios from "axios";
import ReactGA from "react-ga4";
import LernModal from "components/learnathon/LernModal";

function App() {
// const [t] = useTranslation();
Expand Down Expand Up @@ -326,7 +325,6 @@ function App() {
))}
</Routes>
</Router>
<LernModal />
</React.Suspense>
{/* </ChakraProvider> */}
{/* </ChakraProvider> */}
Expand Down
1 change: 1 addition & 0 deletions packages/nulp_elite/src/pages/content/joinCourse.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const JoinCourse = () => {
setCourseData(data);
setUserData(data);
if (_userId == data?.result?.content?.createdBy) {
console.log("here");
setIsOwner(true);
}
let identifiers;
Expand Down
26 changes: 0 additions & 26 deletions packages/nulp_elite/src/pages/search/DomainList.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,32 +504,6 @@ const DomainList = ({ globalSearchQuery }) => {
>

{error && <Alert severity="error">{error}</Alert>}
<Box
className="lern-box">
<Box>
<Grid container>
<Grid item xs={12} md={12} lg={12}>
<Box className="h1-title">
{t("LERN_title")}
</Box>
</Grid>
<Grid item xs={12} md={10} lg={10}>
<Box className='mt-20'>
{t("LERN_MESSAGE")}
</Box>
</Grid>
<Grid item xs={12} md={2} lg={2}>
<Box className='mt-20'>
{lernUser === 'nulp-learn' ? (
<a class="viewAll">{t("CREATE_CONTENT")}</a>
) : (
<a class="viewAll">{t("REQUEST_TO_CREATE")}</a>
)}
</Box>
</Grid>
</Grid>
</Box>
</Box>
<Box textAlign="center">
<p
style={{
Expand Down

0 comments on commit 13d24b6

Please sign in to comment.