add note about translations

This commit is contained in:
proddy
2024-08-31 16:15:41 +02:00
parent d9e4c58543
commit a36e26b767

View File

@@ -34,7 +34,6 @@ const RestartMonitor = () => {
} }
}) })
.onSuccess((event) => { .onSuccess((event) => {
console.log(event.data.status); // TODO remove
if (event.data.status === 'ready' || event.data.status === undefined) { if (event.data.status === 'ready' || event.data.status === undefined) {
document.location.href = '/'; document.location.href = '/';
} }
@@ -53,6 +52,7 @@ const RestartMonitor = () => {
fontWeight={400} fontWeight={400}
textAlign="center" textAlign="center"
> >
{/* TODO: translate these */}
{data?.status === 'uploading' {data?.status === 'uploading'
? LL.WAIT_FIRMWARE() ? LL.WAIT_FIRMWARE()
: data?.status === 'restarting' : data?.status === 'restarting'