Skip to content

Commit e49c6aa

Browse files
committed
chore: upgrade example sanity studio
1 parent 17bc646 commit e49c6aa

7 files changed

Lines changed: 399 additions & 285 deletions

File tree

playground/cms/config/.checksums

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"@sanity/default-login": "6fb6d3800aa71346e1b84d95bbcaa287879456f2922372bb0294e30b968cd37f",
55
"@sanity/form-builder": "b38478227ba5e22c91981da4b53436df22e48ff25238a55a973ed620be5068aa",
66
"@sanity/data-aspects": "d199e2c199b3e26cd28b68dc84d7fc01c9186bf5089580f2e2446994d36b3cb6",
7-
"@sanity/google-maps-input": "57ae3a403ce6a070b31ec6fa1f3c8339cafa66661eaddba1d4d5ee3cc2197ec2"
7+
"@sanity/google-maps-input": "57ae3a403ce6a070b31ec6fa1f3c8339cafa66661eaddba1d4d5ee3cc2197ec2",
8+
"@sanity/vision": "da5b6ed712703ecd04bf4df560570c668aa95252c6bc1c41d6df1bda9b8b8f60"
89
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"defaultApiVersion": "2021-10-21"
3+
}

playground/cms/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"prop-types": "15.8.1",
2626
"react": "18.1.0",
2727
"react-dom": "18.1.0",
28-
"react-icons": "2.2.7"
28+
"react-icons": "4.3.1",
29+
"styled-components": "^5.3.5"
30+
},
31+
"devDependencies": {
32+
"@types/styled-components": "^5"
2933
}
3034
}

playground/cms/schemas/movie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import icon from 'react-icons/lib/md/local-movies'
1+
import { MdLocalMovies as icon } from 'react-icons/md'
22

33
export default {
44
name: 'movie',

playground/cms/schemas/person.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import icon from 'react-icons/lib/md/person'
1+
import { MdPerson as icon } from 'react-icons/md'
22

33
export default {
44
name: 'person',

playground/cms/schemas/screening.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import icon from 'react-icons/lib/md/local-play'
1+
import { MdLocalPlay as icon } from 'react-icons/md'
22

33
export default {
44
name: 'screening',

0 commit comments

Comments
 (0)