If you goals are only weight loss, no. Keep going and feel fine about it
​
Otherwise you need to look at why you’re fasting. Yes that breaks a “pure” fast but we all fast for different reasons and if it doesn’t break your reasons then your fast is fine