Skip to content

Commit 36d2633

Browse files
committed
File renamed
1 parent 777bef1 commit 36d2633

18 files changed

Lines changed: 26 additions & 17 deletions

‎frontend/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@types/react-resizable": "^3.0.8",
3131
"class-variance-authority": "^0.7.1",
3232
"clsx": "^2.1.1",
33+
"dexie": "^4.2.1",
3334
"dompurify": "^3.3.1",
3435
"framer-motion": "^12.26.2",
3536
"html-to-image": "^1.11.13",

‎frontend/src/components/common/tiptap-customized.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { motion } from "framer-motion";
22
import StarterKit from '@tiptap/starter-kit'
33
import { BatteryFull, List } from 'lucide-react'
44
import { useEditor, EditorContent } from '@tiptap/react'
5-
import type { QuoteFormData } from "@/model/quote.model";
5+
import type { QuoteFormData } from "@/model/index.model";
66
import { FloatingMenu, BubbleMenu } from '@tiptap/react/menus'
77
import TiptapToolbar from '@/components/common/tiptap-toolbar'
88
import { useGetKeyBoardHeight } from '@/hook/use-get-keyboard-height.hook'

‎frontend/src/db/quote.db.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { openDB, STORES } from "@/db/db";
2-
import type { Quote } from "@/model/quote.model";
2+
import type { Quote } from "@/model/index.model";
33

44
const STORE_NAME = STORES.QUOTES;
55

‎frontend/src/db/quote_tags.db.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { openDB, STORES } from '@/db/db'
2-
import type { QuoteDetails, QuoteTags, Tag } from '@/model/quote.model'
2+
import type { QuoteDetails, QuoteTags, Tag } from '@/model/index.model'
33

44
const STORE = STORES.QUOTES_TAGS
55

‎frontend/src/db/tag.db.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { openDB, STORES } from "@/db/db";
2-
import type { Tag } from "@/model/quote.model";
2+
import type { Tag } from "@/model/index.model";
33

44
const STORE_NAME = STORES.TAGS;
55

‎frontend/src/feature/quote/card/quote.card.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { sanitizeHTML } from "@/helper/sanitize-html";
44
import { htmlToPlainText } from "@/helper/html-to-text";
55
import useBackground from "@/hook/use-background.hook";
66
import { cn } from "@/lib/utils";
7-
import type { Quote, QuoteDetails } from "@/model/quote.model";
7+
import type { Quote, QuoteDetails } from "@/model/index.model";
88
import { Link } from "@tanstack/react-router";
99
import { Check, Copy, Maximize2, PenIcon, Trash, Save, CircleArrowDown, LoaderCircle } from "lucide-react";
1010
import { useState, useRef } from "react";
@@ -58,7 +58,7 @@ const QuoteCard = (props: Props) => {
5858
}
5959

6060
const formatDate = (date: Date) => {
61-
return date.toLocaleDateString("en-US", {
61+
return date?.toLocaleDateString("en-US", {
6262
month: "long",
6363
day: "numeric",
6464
year: "numeric",

‎frontend/src/feature/quote/dialog/delete.dialog.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
DialogTitle,
88
} from "@/components/ui/dialog"
99
import { Button } from "@/components/ui/button"
10-
import type { Quote } from "@/model/quote.model"
10+
import type { Quote } from "@/model/index.model"
1111
import { sanitizeHTML } from "@/helper/sanitize-html";
1212
import { useState, useEffect, type Dispatch, type SetStateAction } from "react"
1313

‎frontend/src/feature/quote/dialog/setting.dialog.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from "@/components/ui/dialog"
1111
import { Button } from "@/components/ui/button";
1212
import { Separator } from "@/components/ui/separator";
13-
import type { QuoteFormData, SortOption } from "@/model/quote.model";
13+
import type { QuoteFormData, SortOption } from "@/model/index.model";
1414
import {
1515
Select,
1616
SelectItem,
@@ -104,7 +104,7 @@ export function SettingComponent(props: Props) {
104104
colorThemes.map((pri) => {
105105
const yoyo = pri.replace("theme-", "")
106106
const yo = capitalize(yoyo)
107-
console.log({ yo, yoyo })
107+
// console.log({ yo, yoyo })
108108
return (
109109
<SelectItem key={pri} value={pri} className="">
110110
{yo}

‎frontend/src/feature/quote/dialog/share.dialog.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from "@/components/ui/dialog"
1111
import { useRef, useState } from "react";
1212
import { Button } from "@/components/ui/button";
13-
import type { QuoteFormData } from "@/model/quote.model";
13+
import type { QuoteFormData } from "@/model/index.model";
1414
import { ArrowLeftIcon, CircleArrowDown, CircleCheckBig, Copy,Images, LoaderCircle, Save, Share } from "lucide-react";
1515
import useBackground, { type Pri_set, type TextureKey } from "@/hook/use-background.hook";
1616
import { sanitizeHTML } from "@/helper/sanitize-html";

‎frontend/src/feature/quote/drawer/choose-background.drawer.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from "@/components/ui/drawer";
1010
import { useState } from "react";
1111
import { Button } from "@/components/ui/button";
12-
import type { QuoteFormData } from "@/model/quote.model";
12+
import type { QuoteFormData } from "@/model/index.model";
1313
import { ArrowLeftIcon, Save, Shirt } from "lucide-react";
1414
import useBackground, { type Pri_set, type TextureKey } from "@/hook/use-background.hook";
1515
import { cn } from "@/lib/utils";

0 commit comments

Comments
 (0)