Canned Tomatoes

Is it ok to eat canned tomatoes while pregnant? I'm 10 weeks but I feel like I read that somewhere