The First Minister said Donald Trump's state visit to the UK should go ahead , but only if it could help "solidify US support for Ukraine."