Merge pull request #19378 from overleaf/jdt-experiments-events

adding events to opt in and opt out of experiments

GitOrigin-RevId: 3dedc67f97b3bcb8e56e889a9a05fcd1a17f85b3
This commit is contained in:
Jimmy Domagala-Tang 2024-07-11 10:32:22 -04:00 committed by Copybot
parent 0c7a32b4f2
commit 5871dafc02

View file

@ -48,6 +48,7 @@ export function LabsExperimentWidget({
setErrorMessage(experimentsErrorMessage) setErrorMessage(experimentsErrorMessage)
} }
}, [experimentName, setErrorMessage, experimentsErrorMessage]) }, [experimentName, setErrorMessage, experimentsErrorMessage])
const handleDisable = useCallback(async () => { const handleDisable = useCallback(async () => {
try { try {
const disablePath = `/labs/participate/experiments/${experimentName}/opt-out` const disablePath = `/labs/participate/experiments/${experimentName}/opt-out`