Remove duplicate template var and unused $event var