It will be a short-lived panic reaction. I'm not worried.
1) Greece's recovery is independent of a Brexit.
2) It will take 2-5 years for the Brexit to be realized.
3) North Ireland and Scotand have clearly positioned themselves pro EU. In the end, this is more a crisis of the UK, which may likely fall apart, than of Europe or Greece.