To feed or not to feed, that is the question!

Hi! I’m having a dilemma with my son, so thought I’d ask you. After dinner I always give him fruit but I noticed lately he’s refusing the food and only eating the fruit. Do you think that’s ok or should I not allow him to eat anything if he didn’t eat his dinner? 😩 I’m so confused lol.