⚡ (sheets) Use Google Drive picker and remove sensitive OAuth scope
BREAKING CHANGE: The Google Picker API needs to be enabled in the Google Cloud console. You also need to enable it in your NEXT_PUBLIC_GOOGLE_API_KEY. You also need to add the drive.file OAuth scope.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { PublicTypebot, PublicTypebotV6, TypebotV6 } from '@typebot.io/schemas'
|
||||
import { Router, useRouter } from 'next/router'
|
||||
import { Router } from 'next/router'
|
||||
import {
|
||||
createContext,
|
||||
ReactNode,
|
||||
@@ -85,7 +85,6 @@ export const TypebotProvider = ({
|
||||
children: ReactNode
|
||||
typebotId?: string
|
||||
}) => {
|
||||
const { push } = useRouter()
|
||||
const { showToast } = useToast()
|
||||
const [is404, setIs404] = useState(false)
|
||||
|
||||
@@ -186,7 +185,6 @@ export const TypebotProvider = ({
|
||||
flush,
|
||||
isFetchingTypebot,
|
||||
localTypebot,
|
||||
push,
|
||||
setLocalTypebot,
|
||||
showToast,
|
||||
typebot,
|
||||
|
||||
Reference in New Issue
Block a user