Skip to content

Commit

Permalink
Replace sentence-case with change-case
Browse files Browse the repository at this point in the history
  • Loading branch information
colebemis committed Dec 6, 2024
1 parent e40230a commit 185f275
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 122 deletions.
131 changes: 12 additions & 119 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@uiw/codemirror-themes": "^4.22.0",
"@uiw/react-codemirror": "^4.23.6",
"buffer": "^6.0.3",
"change-case": "^5.4.4",
"chrono-node": "^2.7.0",
"clsx": "^2.1.0",
"cmdk": "^0.2.0",
Expand Down Expand Up @@ -91,7 +92,6 @@
"remark-emoji": "^3.1.2",
"remark-gfm": "^3.0.1",
"remark-math": "^6.0.0",
"sentence-case": "^3.0.4",
"serverless-http": "^3.2.0",
"tailwind-merge": "^2.2.1",
"unified": "^10.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/insert-template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as Dialog from "@radix-ui/react-dialog"
import ejs from "ejs"
import { atom, useAtom, useSetAtom } from "jotai"
import React from "react"
import { sentenceCase } from "sentence-case"
import { sentenceCase } from "change-case"
import { Template } from "../schema"
import { toDateString } from "../utils/date"
import { Button } from "./button"
Expand Down
2 changes: 1 addition & 1 deletion src/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useNetworkState } from "react-use"
import rehypeKatex from "rehype-katex"
import remarkGfm from "remark-gfm"
import remarkMath from "remark-math"
import { sentenceCase } from "sentence-case"
import { sentenceCase } from "change-case"
import { z } from "zod"
import { UPLOADS_DIR } from "../hooks/attach-file"
import { useNoteById } from "../hooks/note"
Expand Down

0 comments on commit 185f275

Please sign in to comment.