1
0
Fork 0

lint fixes

This commit is contained in:
Enoch Riese 2022-11-14 16:53:31 -06:00
parent 18f588dc99
commit 3676c7af07
6 changed files with 13 additions and 12 deletions

View file

@ -13,7 +13,7 @@ const PrintLayout = (props) => {
// disable xray
useEffect(() => {
if (props.gist?._state?.xray?.enabled) props.updateGist(['_state', 'xray', 'enabled'], false)
}, [])
})
const { t } = useTranslation(['workbench'])
const [error, setError] = useState(false)
@ -45,8 +45,8 @@ const PrintLayout = (props) => {
props.design,
t,
props.app,
(e) => setError(false),
(e) => setError(true)
() => setError(false),
() => setError(true)
)
}