Skip to content

Commit

Permalink
Merge pull request #38 from codeforjapan/dependabot/npm_and_yarn/ohas…
Browse files Browse the repository at this point in the history
…h-2.0.10

chore(deps): bump ohash from 1.1.4 to 2.0.10
  • Loading branch information
sushichan044 authored Mar 7, 2025
2 parents d9eb97e + e5e4c52 commit 944a496
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/feature/search/useForm.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { SubmissionResult } from "@conform-to/react";
import { useForm } from "@conform-to/react";
import { parseWithZod } from "@conform-to/zod";
import { objectHash } from "ohash";
import { hash } from "ohash";
import { useMemo } from "react";
import type { z } from "zod";

Expand Down Expand Up @@ -59,7 +59,7 @@ const useNoteSearchForm = ({
...rest
}: UseNoteSearchFormOptions): UseNoteSearchFormReturn => {
const formIdHash = useMemo(
() => objectHash({ formType, ...defaultValue }),
() => hash({ formType, ...defaultValue }),
[formType, defaultValue],
);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@tailwindcss/vite": "4.0.9",
"dayjs": "1.11.13",
"isbot": "5.1.23",
"ohash": "1.1.4",
"ohash": "2.0.11",
"react": "18.3.1",
"react-dom": "18.3.1",
"recharts": "2.15.1",
Expand Down
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

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

0 comments on commit 944a496

Please sign in to comment.