Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot read properties of undefined (reading 'find') #2

Open
amaxalov opened this issue May 17, 2023 · 1 comment
Open

Error: Cannot read properties of undefined (reading 'find') #2

amaxalov opened this issue May 17, 2023 · 1 comment

Comments

@amaxalov
Copy link

amaxalov commented May 17, 2023

image
I guess in components/CopyPasteInput.tsx need add some try catch or another condition
"dependencies": {
"@sanity/vision": "3.11.1",
"@superside-oss/sanity-plugin-copy-paste": "1.0.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-is": "18.2.0",
"sanity": "3.11.1",
"sanity-plugin-media": "2.0.5",
"slug": "8.2.2",
"styled-components": "5.3.9"
},
"devDependencies": {
"@sanity/eslint-config-studio": "2.0.1",
"@types/react": "18.0.25",
"@types/slug": "5.0.3",
"@types/styled-components": "5.1.26",
"eslint": "8.6.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-prettier": "4.2.1",
"prettier": "2.8.7",
"typescript": "4.9.4",
"vite-plugin-node-polyfills": "^0.8.2"
}

@dnzg
Copy link
Collaborator

dnzg commented Jun 5, 2023

Hey @amaxalov! I've updated the plugin, could you please test it once again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants