This message was deleted.
# ask-questions
w
This message was deleted.
f
What attribute are you using for assignment in the experiment?
l
I am setting them inside a useEffect
Copy code
useEffect(() => {
		if (!growthbook && !uid) return;

		growthbook
			?.setAttributes({
				uid,
			})
			.then(() => {
				console.log('uid set', uid);
			});
	}, [growthbook, uid]);
With this question you just gave me the answer. I was setting a wrong attribute 🙈. It was waiting for 'id', and i named it 'uid'. silly mistake
f
cool, glad its sorted
🙌 1
142 Views