+
{children}
{
@@ -59,6 +63,7 @@ const buildPattern = (children, settings = { margin: 5 }, tutorial = false, pape
// Handles display of pattern in mormal or xray mode
const ShowPattern = ({ renderProps, logs, mode = 'normal' }) => {
+ const { t } = useTranslation(ns)
if (!renderProps) return null
if (logs.pattern.error.length > 0 || logs.sets[0].error.length > 0)
@@ -68,7 +73,11 @@ const ShowPattern = ({ renderProps, logs, mode = 'normal' }) => {
)
- return mode === 'xray' ?
:
+ return mode === 'xray' ? (
+
+ ) : (
+
+ )
}
// Wrapper component dealing with the tabs and code view