How to handle toddler tantrums?

When your toddlers act up when out to eat, do you remove them or ignore them? (Remove as in carry them away from the table)

Watching nanny and she says to ignore or they’ll do it every time. So I’m curious what works for you.