Skip to content

Commit

Permalink
Merge pull request #43 from thomasKn/chore
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
thomasKn authored Feb 7, 2024
2 parents 5abc4cf + c29c04a commit 0862bb4
Show file tree
Hide file tree
Showing 5 changed files with 1,286 additions and 1,216 deletions.
6 changes: 3 additions & 3 deletions app/components/sanity/VisualEditing.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {HistoryAdapterNavigate} from '@sanity/overlays';
import type {HistoryAdapterNavigate} from '@sanity/visual-editing';

import {useFetcher, useLocation, useNavigate} from '@remix-run/react';
import {enableOverlays} from '@sanity/overlays';
import {enableVisualEditing} from '@sanity/visual-editing';
import {cx} from 'class-variance-authority';
import {useEffect, useRef} from 'react';

Expand All @@ -17,7 +17,7 @@ export function VisualEditing() {
const client = useSanityClient();

useEffect(() => {
const disable = enableOverlays({
const disable = enableVisualEditing({
history: {
subscribe: (navigate) => {
navigateComposerRef.current = navigate;
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"@remix-run/react": "2.6.0",
"@sanity/client": "^6.12.3",
"@sanity/image-url": "^1.0.2",
"@sanity/overlays": "^2.3.9",
"@sanity/react-loader": "^1.8.2",
"@sanity/react-loader": "^1.8.3",
"@sanity/visual-editing": "^1.1.0",
"@shopify/cli": "3.53.0",
"@shopify/cli-hydrogen": "^7.0.0",
"@shopify/hydrogen": "^2024.1.0",
"@shopify/cli-hydrogen": "^7.0.1",
"@shopify/hydrogen": "^2024.1.1",
"@shopify/hydrogen-react": "^2024.1.0",
"@shopify/remix-oxygen": "^2.0.3",
"@tanem/react-nprogress": "^5.0.51",
Expand All @@ -48,7 +48,7 @@
"framer-motion": "^11.0.3",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"groq": "^3.27.1",
"groq": "^3.28.0",
"groqd": "^0.15.10",
"isbot": "^4.4.0",
"react": "^18.2.0",
Expand All @@ -67,16 +67,16 @@
"@tailwindcss/typography": "^0.5.10",
"@total-typescript/ts-reset": "^0.5.1",
"@types/eslint": "^8.56.2",
"@types/react": "^18.2.51",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.18",
"eslint": "^8.56.0",
"eslint-plugin-hydrogen": "^0.12.3",
"eslint-plugin-perfectionist": "^2.5.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.33",
"postcss": "^8.4.34",
"postcss-import": "^16.0.0",
"postcss-preset-env": "^9.3.0",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "0.5.11",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
Expand Down
Loading

0 comments on commit 0862bb4

Please sign in to comment.