Based on the generalized uncertainty principle (GUP), proposed by some approaches to quantum gravity such as string theory and doubly special relativity, the effect of GUP on the thermodynamic properties of compact stars with two different components has been studied recently. Tawfik et al. noted that the existence of quantum gravity correction tends to resist the collapse of stars if the GUP parameter is taking values between Planck scale and electroweak scale. Comparing with other approaches, it was found that the radii of compact stars should be smaller and increasing energy decreases the radii of the compact stars.