Skip to content

Commit

Permalink
fix(cli): remove comments from moviedb template, hide location field (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Apr 26, 2024
1 parent 481f708 commit 10f19a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const configTemplate = `
import {defineConfig} from 'sanity'
import {structureTool} from 'sanity/structure'
import {visionTool} from '@sanity/vision'
//import {googleMapsInput} from '@sanity/google-maps-input'
import {schemaTypes} from './schemaTypes'
export default defineConfig({
Expand All @@ -17,7 +16,6 @@ export default defineConfig({
plugins: [
structureTool(),
visionTool(),
//googleMapsInput(),
],
schema: {
Expand All @@ -31,7 +29,6 @@ const movieTemplate: ProjectTemplate = {
importPrompt: 'Add a sampling of sci-fi movies to your dataset on the hosted backend?',
datasetUrl: 'https://public.sanity.io/moviesdb-2018-03-06.tar.gz',
dependencies: {
//'@sanity/google-maps-input': '^2.27.0',
'react-icons': '^3.11.0',
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default defineType({
title: 'Location',
type: 'geopoint',
description: 'Where will the screening take place?',
hidden: true,
}),
defineField({
name: 'beginAt',
Expand Down

0 comments on commit 10f19a1

Please sign in to comment.