Update if.di

We don't need `var` here