Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1706 use jsx file extension #1890

Merged
merged 2 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import PropTypes from "prop-types";
import Button from "../Button/Button";
import Button from "./Button";
import { MdEdit } from "react-icons/md";

const EditToggleButton = ({ id, onClick, editMode }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import PropTypes from "prop-types";
import Button from "../Button/Button";
import Button from "./Button";

const SaveButton = ({ id, onClick, isDisabled, isDisplayed, color }) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import PropTypes from "prop-types";
import Button from "../Button/Button";
import Button from "./Button";

const SubmitButton = ({ id, onClick, isDisabled, isDisplayed, color }) => {
return (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import PropTypes from "prop-types";
import { createUseStyles, useTheme } from "react-jss";
import RuleCalculationPanels from "../RuleCalculation/RuleCalculationPanels";
import Level0Page from "../WizardPages/Level0Page";
import Level0Page from "./Level0Page";
import ParkingProvidedRuleInput from "../RuleInput/ParkingProvidedRuleInput";

const useStyles = createUseStyles(theme => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from "react";
import PropTypes from "prop-types";
import { createUseStyles, useTheme } from "react-jss";
import * as projectResultService from "..////../services/projectResult.service";
import * as projectResultService from "../../services/projectResult.service";
import Button from "../Button/Button";

import ModalDialog from "../UI/AriaModal/ModalDialog";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ProjectContextMenu from "./ProjectContextMenu";
import PdfPrint from "../PdfPrint/PdfPrint";
import fetchEngineRules from "./fetchEngineRules";
import * as droService from "../../services/dro.service";
import UniversalSelect from "../UI/UniversalSelect.jsx";
import UniversalSelect from "../UI/UniversalSelect";

const useStyles = createUseStyles({
td: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ import React, { useState, useContext, useEffect, memo } from "react";
import PropTypes from "prop-types";
import { useNavigate } from "react-router-dom";
import { createUseStyles } from "react-jss";
import UserContext from "../../contexts/UserContext.js";
import UserContext from "../../contexts/UserContext";

import { MdFilterAlt } from "react-icons/md";
import SearchIcon from "../../images/search.png";
import Pagination from "../UI/Pagination.js";
import Pagination from "../UI/Pagination";
import ContentContainerNoSidebar from "../Layout/ContentContainerNoSidebar";
import useErrorHandler from "../../hooks/useErrorHandler";
import useProjects from "../../hooks/useGetProjects";
import useCheckedProjectsStatusData from "../../hooks/useCheckedProjectsStatusData.js";
import useCheckedProjectsStatusData from "../../hooks/useCheckedProjectsStatusData";
import * as projectService from "../../services/project.service";
import * as droService from "../../services/dro.service";
import SnapshotProjectModal from "./SnapshotProjectModal";
import RenameSnapshotModal from "./RenameSnapshotModal";

import DeleteProjectModal from "./DeleteProjectModal";
import CopyProjectModal from "./CopyProjectModal";
import CsvModal from "./CsvModal.js";
import CsvModal from "./CsvModal";
import ProjectTableRow from "./ProjectTableRow";
import FilterDrawer from "./FilterDrawer.js";
import MultiProjectToolbarMenu from "./MultiProjectToolbarMenu.js";
import fetchEngineRules from "./fetchEngineRules.js";
import UniversalSelect from "../UI/UniversalSelect.jsx";
import ProjectTableColumnHeader from "./ColumnHeaderPopups/ProjectTableColumnHeader.js";
import FilterDrawer from "./FilterDrawer";
import MultiProjectToolbarMenu from "./MultiProjectToolbarMenu";
import fetchEngineRules from "./fetchEngineRules";
import UniversalSelect from "../UI/UniversalSelect";
import ProjectTableColumnHeader from "./ColumnHeaderPopups/ProjectTableColumnHeader";

const useStyles = createUseStyles({
outerDiv: {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion client/src/helpers/Config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as configService from "../services/config.service.js";
import * as configService from "../services/config.service";

export const getConfigs = async () => {
try {
Expand Down
6 changes: 1 addition & 5 deletions client/src/services/tdm-engine.test.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import Engine from "./tdm-engine";
import { engineTestRules, engineTestInput1 } from "../test-data/engine-test";
import { tdmRules } from "../test-data/tdm-calc-rules";
import {
project1,
project2,
project3
} from "../test-data/tdm-calc-examples.js";
import { project1, project2, project3 } from "../test-data/tdm-calc-examples";
import "@testing-library/jest-dom";

describe("class Engine", () => {
Expand Down
30 changes: 0 additions & 30 deletions next/.next/app-build-manifest.json

This file was deleted.

19 changes: 0 additions & 19 deletions next/.next/build-manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion next/.next/cache/eslint/.cache_1emlz4p

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion next/.next/package.json

This file was deleted.

1 change: 0 additions & 1 deletion next/.next/react-loadable-manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions next/.next/server/app-paths-manifest.json

This file was deleted.

311 changes: 0 additions & 311 deletions next/.next/server/app/(sidebar)/about/page.js

This file was deleted.

This file was deleted.

Loading
Loading