Skip to content

Commit

Permalink
fix npm build error on profile and invoice component
Browse files Browse the repository at this point in the history
  • Loading branch information
mihrab34 committed Jun 3, 2024
1 parent 7ce971a commit 7dc811e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion cubeseed_login/src/component/Invoice/view-invoice.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import cal from "@assets/cal.svg"
import dload from "@assets/download.svg"
import face from "@assets/face.svg"
import { BillType, OrderType, SummaryType } from "@cs/lib/types"
import { BillType, OrderType, SummaryType } from "@cs/types"
import Image from "next/image"
import Link from "next/link"
import Table from "../../comps/Table/table"
Expand Down
2 changes: 1 addition & 1 deletion cubeseed_login/src/component/Profile/profile.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client"

import { UserProfileType } from "@cs/lib/types"
import { UserProfileType } from "@cs/types"
import farmer from "@cs/public/farmer1.png"
import star from "@cs/public/star.svg"
import Image, { StaticImageData } from "next/image"
Expand Down
2 changes: 1 addition & 1 deletion cubeseed_login/src/component/forms/UserDetailsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { useSignUpContext } from "@/context/signup"
import { useEffect } from "react"
import { SignUpErrors } from "../../../types/index"
import { SignUpErrors } from "@cs/types"

export default function UserDetailsForm() {
const {
Expand Down
11 changes: 5 additions & 6 deletions cubeseed_login/src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import Carousel from "@/component/carousel/Carousel"
import { FormEvent } from "react"
import { useMultiSteps } from "@/hooks/useMultiSteps"
import Navbar from "@/component/navbar/Navbar"
import UserEmail from "@/component/forms/UserEmail"
import ServiceForm from "@/component/forms/ServiceForm"
import UserDetailsForm from "@/component/forms/UserDetailsForm"
import UserEmail from "@/component/forms/UserEmail"
import Navbar from "@/component/navbar/Navbar"
import ProgressBar from "@/component/progressbar/ProgressBar"
import { useMultiSteps } from "@/hooks/useMultiSteps"
import Carousel from "@/component/carousel/Carousel"
import homeStyles from "@/styles/home.module.scss"
import { FormEvent } from "react"
import Confirmation from "./confirmation_page/Confirmation"

export default function Home() {
const stepDivs = [
Expand Down
10 changes: 1 addition & 9 deletions cubeseed_login/src/styles/home.module.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
@import "../styles/variables.module.scss";

// .home {
// height: 100vh;
// width: 100%;
// display: grid;
// grid-template-columns: 60% 40%;
// gap: 20px;
// overflow-x: hidden;
// }

.getStarted {
line-height: 30px;
margin-left: 10px;
Expand All @@ -26,6 +17,7 @@
color: #ffffff;
background: $tertiary-color;
border-radius: 25px;
margin-right: 15px;
}

.action:hover {
Expand Down

0 comments on commit 7dc811e

Please sign in to comment.