Jeremy Corbyn says he had a "great discussion" with Leo Varadkar about Brexit and Northern Ireland during their meeting in Dublin today.
The Taoiseach and UK Labour leader met for an hour and a half at Government Buildings.
Northern Ireland, Brexit and the political situation in Westminster were all on the agenda.
In a statement, a government spokesperson said: "Discussions focused principally on the need to restore power-sharing in Northern Ireland and the importance of ongoing engagement with all political parties in the North. These talks continue this week in Belfast involving the Tanaiste and the Secretary of State for Northern Ireland.
"They also considered Brexit, with both sides sharing serious concerns about a no deal scenario and its inherent dangers, including the possibility that the UK may end up in a no deal situation by default unless alternatives are pursued."
The two men also discussed the "importance of avoiding any return of a hard border on the island of Ireland", and pledged to keep in touch.
Mr Corbyn, meanwhile, reiterated his opposition to a no deal Brexit following the meeting:
Great discussion with Irish Taoiseach @LeoVaradkar on the importance of ensuring an open border between the Republic and Northern Ireland, as well as maintaining a close trade relationship with Europe.
We must avoid the damage to our economy that No Deal would cause. pic.twitter.com/linM6mJsJe— Jeremy Corbyn (@jeremycorbyn) May 30, 2019
During his visit to Dublin, Mr Corbyn also met with ICTU head Patricia King and President Michael D Higgins.
President Michael D. Higgins with British Labour Party leader Jeremy Corbyn, meeting at Áras an Uachtaráin this morning. pic.twitter.com/62DUlNVfWJ
— President of Ireland (@PresidentIRL) May 30, 2019
Speaking to reporters in Dublin yesterday evening, the UK opposition leader said he's hopeful the new European Commission will be open to fresh talks on the UK's exit from the EU.
He said the "most important thing" for all sides is to get a deal that prevents a no-deal exit.
Mr Corbyn also insisted the “only way out” of the Brexit crisis is to go back to the British people – either through a general election or a public vote.