Problems with rendered more hooks than previous or less hooks are connected with makeStyles, when I am changing array from p1 to <