Skip to content

Commit

Permalink
resolved conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarika-padmanaban committed Jan 18, 2024
1 parent 62d2d35 commit a31ae5f
Show file tree
Hide file tree
Showing 9 changed files with 245 additions and 20 deletions.
236 changes: 229 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.18",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@mui/icons-material": "^5.15.5",
"@mui/material": "^5.14.18",
"@mui/styles": "^5.14.18",
"@mui/x-date-pickers-pro": "^6.18.4",
Expand All @@ -28,7 +30,8 @@
"react": "^18",
"react-date-range": "^2.0.0-alpha.4",
"react-dom": "^18",
"react-redux": "^9.0.4"
"react-redux": "^9.0.4",
"react-router-dom": "^6.21.2"
},
"devDependencies": {
"autoprefixer": "^10.4.16",
Expand Down
2 changes: 1 addition & 1 deletion src/app/change-password/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
ThemeProvider,
Typography,
InputAdornment,
IconButton
} from "@mui/material";
import React, { useEffect, useState } from "react";
import themeDefault from "../../themes/theme";
Expand All @@ -18,7 +19,6 @@ import ChangePasswordAPI from "../actions/api/user/ChangePasswordAPI"
import Spinner from "../../components/common/Spinner";
import CustomizedSnackbars from "../../components/common/Snackbar";
import VpnKeyOutlinedIcon from '@mui/icons-material/VpnKeyOutlined';
import IconButton from "@material-ui/core/IconButton";
import Visibility from "@material-ui/icons/Visibility";
import VisibilityOff from "@material-ui/icons/VisibilityOff";
import CustomButton from "../../components/common/Button";
Expand Down
2 changes: 1 addition & 1 deletion src/app/forgot-password/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import OutlinedTextField from "../../components/common/OutlinedTextField";
// import { translate } from "../../../config/localisation";
import LoginStyle from "../../styles/loginStyle";
import themeDefault from "../../themes/theme";
import { useNavigate } from "react-router-dom";
// import { useNavigate } from "react-router-dom";
import AppInfo from "../../components/user/AppInfo";
import ForgotPasswordAPI from "../../app/actions/api/user/ForgotPasswordAPI";
// import APITransport from "../../../../redux/actions/apitransport/apitransport";
Expand Down
4 changes: 2 additions & 2 deletions src/app/login/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import OutlinedTextField from "../../components/common/OutlinedTextField";
import { useEffect, useState } from "react";
import InputAdornment from "@material-ui/core/InputAdornment";
import IconButton from "@material-ui/core/IconButton";
import { Visibility } from "@material-ui/icons";
import VisibilityOff from "@material-ui/icons/VisibilityOff";
import { Visibility } from "@mui/icons-material";
import VisibilityOff from "@mui/icons-material/VisibilityOff";
import {useDispatch,useSelector} from "react-redux"
import CustomButton from "../../components/common/Button";
import APITransport from "@/Lib/apiTransport/apitransport";
Expand Down
8 changes: 4 additions & 4 deletions src/app/organizations/page.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use client';
import DetailsViewPage from "../workspace/DetailsViewPage";
import componentType from "../../config/PageType";
// import { useSelector } from "react-redux";
import { useSelector } from "react-redux";

const MyOrganization = () => {
// const organizationDetails = useSelector(state=>state.fetchLoggedInUserData.data.organization);
const organizationDetails = useSelector(state=>state.getLoggedInData?.data.organization);
return (
<DetailsViewPage
// title={organizationDetails && organizationDetails.title}
// createdBy={organizationDetails && organizationDetails.created_by && organizationDetails.created_by.username}
title={organizationDetails && organizationDetails.title}
createdBy={organizationDetails && organizationDetails.created_by && organizationDetails.created_by.username}
pageType={componentType.Type_Organization}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tabs/MyProgress.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
import GetProjectDomainsAPI from "@/app/actions/api/workspace/GetProjectDomainsAPI";
import ColumnList from "../common/ColumnList";
import CustomizedSnackbars from "../common/Snackbar";
import { isSameDay, format } from 'date-fns/esm';
import { isSameDay, format } from 'date-fns';
import { DateRangePicker, defaultStaticRanges } from "react-date-range";
import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown";
import ArrowRightIcon from "@mui/icons-material/ArrowRight";
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/AddUsersDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { fetchOrganizationUsers } from "@/Lib/Features/getOrganizationUsers";
import { fetchWorkspaceDetails } from "@/Lib/Features/getWorkspaceDetails";
import { fetchWorkspacesAnnotatorsData } from "@/Lib/Features/getWorkspacesAnnotatorsData";
import { fetchProjectDetails } from "@/Lib/Features/projects/getProjectDetails";
import { Add } from "@material-ui/icons";
import { Add } from "@mui/icons-material";
import { useDispatch, useSelector } from 'react-redux';
import {
Autocomplete,
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/WorkspaceReports.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import FetchLanguagesAPI from "../../app/actions/api/workspace/FetchLanguagesAPI
import GetWorkspaceDetailedProjectReportsAPI from "../../app/actions/api/workspace/GetWorkspaceDetailedProjectReportsAPI";
import DatasetStyle from "../../styles/Dataset";
import ColumnList from "../common/ColumnList";
import { isSameDay, format } from 'date-fns/esm';
import { isSameDay, format } from 'date-fns';
import { DateRangePicker, defaultStaticRanges } from "react-date-range";
import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown";
import ArrowRightIcon from "@mui/icons-material/ArrowRight";
Expand Down

0 comments on commit a31ae5f

Please sign in to comment.