fix: show_badge
This commit is contained in:
parent
eb6c0fbd26
commit
dd65ea2091
@ -25,7 +25,7 @@ import PenaLogo from "@icons/PenaLogo.png";
|
||||
|
||||
export const StartPageViewPublication = () => {
|
||||
const theme = useTheme();
|
||||
const { settings } = useQuizData();
|
||||
const { settings, show_badge } = useQuizData();
|
||||
const { isMobileDevice } = useUADevice();
|
||||
const isMobile = useRootContainerSize() < 700;
|
||||
const isTablet = useRootContainerSize() < 800;
|
||||
@ -324,6 +324,7 @@ export const StartPageViewPublication = () => {
|
||||
</Typography>
|
||||
</Box>
|
||||
|
||||
{show_badge && (
|
||||
<Box
|
||||
component={Link}
|
||||
target={"_blank"}
|
||||
@ -360,6 +361,7 @@ export const StartPageViewPublication = () => {
|
||||
Сделано на PenaQuiz
|
||||
</Typography>
|
||||
</Box>
|
||||
)}
|
||||
</Box>
|
||||
</>
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user