Closed
Description
📚 What are you trying to do?
Trying to add a trigger to the scriptOptions
for useScriptGoogleTagManager causes a crash
eg
useScriptGoogleTagManager({
key: 'KEY',
scriptOptions: {
trigger: useScriptTriggerConsent({
consent: agreedToCookies
})
},
})
🔍 What have you tried?
No response
ℹ️ Additional context
No response