Moves simple ntos interfaces to .tsx

This commit is contained in:
ItsSelis
2022-06-30 21:26:41 +02:00
parent 7d2bfaa7f8
commit 569e5a8565
11 changed files with 3 additions and 9 deletions
@@ -1,10 +1,7 @@
import { useBackend } from '../backend';
import { NtosWindow } from '../layouts';
import { CommunicationsConsoleContent } from './CommunicationsConsole';
export const NtosCommunicationsConsole = (props, context) => {
const { act, data } = useBackend(context);
export const NtosCommunicationsConsole = () => {
return (
<NtosWindow width={400} height={600} resizable>
<NtosWindow.Content scrollable>
@@ -1,10 +1,7 @@
import { useBackend } from '../backend';
import { NtosWindow } from '../layouts';
import { IdentificationComputerContent } from './IdentificationComputer';
export const NtosIdentificationComputer = (props, context) => {
const { act, data } = useBackend(context);
export const NtosIdentificationComputer = () => {
return (
<NtosWindow width={600} height={700} resizable>
<NtosWindow.Content scrollable>
@@ -1,7 +1,7 @@
import { NtosWindow } from '../layouts';
import { ShutoffMonitorContent } from './ShutoffMonitor';
export const NtosShutoffMonitor = (props, context) => {
export const NtosShutoffMonitor = () => {
return (
<NtosWindow width={627} height={700} resizable>
<NtosWindow.Content>