giant trance x4 vs jamis dakar xct comp frames

Hi, my second hand gf roscoe broke on the chainstay, I'm looking to buy a new frame locally they are offering me a 2012 jamis dakar xct frame or giant trance x4 frame. Both frames are new , I'm planning to use all my components from the previous bike for the build I have te original fox 34 that the roscoe came with all xt mech's slx disk brakes and haven wheels. I need rcomendations to decide which one to buy