If the tart isn't holding up when you cut into it, you probably didn't leave it to set long enough. Make sure you let the chocolate ganache completely set after you assemble the tart.