Skip to content

Commit

Permalink
remove scss imports from files other than _app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vdvibhu20 committed Dec 30, 2022
1 parent 19e63f7 commit ef34f39
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion components/AddUser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import FieldWithElement from "./FieldWithElement";
import "../styles/pages/admin/coupons.scss";
import Swal from "sweetalert2";
import resourcesController from "../controllers/resources";
import usersController from "../controllers/users";
Expand Down
1 change: 0 additions & 1 deletion components/CheckLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import jwt from "jsonwebtoken";
import Head from "./head";
import Layout from "./layout";
import Loader from "./loader";
import "../styles/components/CheckLogin.scss";

class CheckLogin extends React.Component {
constructor(props) {
Expand Down
1 change: 0 additions & 1 deletion components/FieldWithElement.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import "../styles/components/FieldWithElement.scss";

class FieldWithElement extends React.Component {
render() {
Expand Down
1 change: 0 additions & 1 deletion components/FinanceReport.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import Head from "./head";
import Layout from "./layout";
import "../styles/pages/admin/products.scss";
import purchasesController from "../controllers/purchases.js";
import Loader from './loader';
import CheckLogin from "./CheckLogin";
Expand Down
1 change: 0 additions & 1 deletion components/Modal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import "../styles/components/Modal.scss";

class Modal extends React.Component {
render() {
Expand Down
1 change: 0 additions & 1 deletion components/NewPayment.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import FieldWithElement from "./FieldWithElement";
import "../styles/pages/admin/coupons.scss";
import "../DukaanAPI";
import Swal from "sweetalert2";
import Cookies from 'js-cookie'
Expand Down
1 change: 0 additions & 1 deletion components/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/

import React from 'react';
import "../styles/components/Pagination.scss";

class Pagination extends React.Component {

Expand Down
1 change: 0 additions & 1 deletion components/PartialPayments.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react";
import FieldWithElement from "./FieldWithElement";
import "../styles/pages/admin/coupons.scss";
import Swal from "sweetalert2";
import withReactContent from "sweetalert2-react-content";
import "../DukaanAPI";
Expand Down
1 change: 0 additions & 1 deletion components/PaymentInstallmentForm.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {useEffect, useState} from "react";
import FieldWithElement from "./FieldWithElement";
import "../styles/pages/admin/coupons.scss";
import Swal from "sweetalert2";
import formatter from "../helpers/formatter"
import resourcesController from "../controllers/resources";
Expand Down
1 change: 0 additions & 1 deletion components/Price.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from "react";
import "../styles/components/Price.scss";
import formatter from "../helpers/formatter";

class Price extends React.Component {
Expand Down
1 change: 0 additions & 1 deletion components/ProductsChooser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import Select from 'react-select';
import productsController from "../controllers/products";
import "../styles/components/ProductsChooser.scss";
import Swal from 'sweetalert2';

class ProductsChooser extends React.Component {
Expand Down
1 change: 0 additions & 1 deletion components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Link from "next/link";
import Cookies from 'js-cookie'
import jwt from "jsonwebtoken";
import config from "../config";
import "../styles/components/layout.scss";

class Layout extends React.Component {
constructor(props) {
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import Head from "../../components/head";
import Layout from "../../components/layout";
import "../../styles/pages/admin/coupons.scss";
import FieldWithElement from '../../components/FieldWithElement';
import Loader from '../../components/loader';
import controller from "../../controllers/coupons";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Loader from '../../../components/loader';
import FieldWithElement from '../../../components/FieldWithElement';
import controller from '../../../controllers/coupons';
import organizationController from '../../../controllers/organizations';
import "../../../styles/pages/admin/coupons.scss";
import Swal from 'sweetalert2';
import ProductsChooser from "../../../components/ProductsChooser";
import CheckLogin from "../../../components/CheckLogin";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons/bulk.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Loader from '../../../components/loader';
import FieldWithElement from '../../../components/FieldWithElement';
import controller from '../../../controllers/coupons';
import organizationController from '../../../controllers/organizations';
import "../../../styles/pages/admin/coupons.scss";
import Swal from 'sweetalert2';
import ProductsChooser from "../../../components/ProductsChooser";
import CheckLogin from "../../../components/CheckLogin";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import Loader from '../../../components/loader';
import FieldWithElement from '../../../components/FieldWithElement';
import controller from '../../../controllers/coupons';
import "../../../styles/pages/admin/coupons.scss";
import ProductsChooser from '../../../components/ProductsChooser';
import DatePicker from "react-datepicker";
import ErrorBoundary from "../../../components/ErrorBoundary";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons2/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import CouponForm from "../../../forms/Coupon";
import CheckLogin from "../../../components/CheckLogin";
import * as controller from '../../../controllers/v2/couponsV2'
import ErrorHandler from "../../../helpers/ErrorHandler";
import "../../../styles/pages/admin/coupons2.scss";
import Swal from 'sweetalert2';
import ProductApplicabilityInfo from "../../../components/ProductApplicabilityInfo";
import ProductsChooserModal from "../../../components/ProductsChooser/ProductsChooserModal";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons2/bulk.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import ErrorHandler from "../../../helpers/ErrorHandler";
import ProductApplicabilityInfo from "../../../components/ProductApplicabilityInfo";
import ProductsChooserModal from "../../../components/ProductsChooser/ProductsChooserModal";
import ConfirmationDialog from "../../../components/ConfirmationDialog";
import "../../../styles/pages/admin/coupons2.scss";


class AddBulkCoupon extends React.Component {
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons2/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import CouponForm from "../../../../forms/Coupon";
import CheckLogin from "../../../../components/CheckLogin";
import * as controller from '../../../../controllers/v2/couponsV2'
import ErrorHandler from "../../../../helpers/ErrorHandler";
import "../../../../styles/pages/admin/coupons2.scss";
import Swal from 'sweetalert2';
import ProductApplicabilityInfo from "../../../../components/ProductApplicabilityInfo";
import ProductsChooserModal from "../../../../components/ProductsChooser/ProductsChooserModal";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/coupons2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import ProductsChooser from "../../../components/ProductsChooser";
import Formatter from "../../../helpers/formatter";
import Pagination from "../../../components/Pagination";
import Loader from "../../../components/loader";
import "../../../styles/pages/admin/coupons2.scss";


class CouponsSearch extends React.Component {
Expand Down
1 change: 0 additions & 1 deletion pages/admin/products.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import Head from "../../components/head";
import Layout from "../../components/layout";
import "../../styles/pages/admin/products.scss";
import FieldWithElement from '../../components/FieldWithElement';
import controller from "../../controllers/products.js";
import Loader from '../../components/loader';
Expand Down
1 change: 0 additions & 1 deletion pages/admin/products/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Swal from 'sweetalert2';
import Head from '../../../components/head';
import Layout from "../../../components/layout";
import Loader from '../../../components/loader';
import "../../../styles/pages/admin/products.scss";
import ImageChooser from '../../../components/ImageChooser';
import CheckLogin from '../../../components/CheckLogin';

Expand Down
1 change: 0 additions & 1 deletion pages/admin/report.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import Head from "../../components/head";
import Layout from "../../components/layout";
import "../../styles/pages/admin/products.scss";
import purchasesController from "../../controllers/purchases.js";
import Loader from '../../components/loader';
import FinanceReport from "../../components/FinanceReport";
Expand Down
1 change: 0 additions & 1 deletion pages/admin/users/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/

import React from "react";
import "../../../styles/pages/admin/coupons.scss";
import Head from "../../../components/head";
import Layout from "../../../components/layout";
import {Field, Formik} from "formik";
Expand Down

0 comments on commit ef34f39

Please sign in to comment.