Fix syntax error in state machine example

This was breaking Framer 3 for me.