Rearrange components

This commit is contained in:
He4eT 2023-06-03 22:50:37 +03:00 committed by Alexey
commit daa26965cd
16 changed files with 14 additions and 11 deletions

View file

@ -1,7 +1,7 @@
import { h } from 'preact'
import { useEffect, useRef, useState } from 'preact/hooks'
import s from './InputBox/MenuButton.module.scss'
import s from './MenuButton/MenuButton.module.scss'
/* eslint-disable */
const keyCodes = {

View file

@ -3,13 +3,16 @@ import { useState, useEffect } from 'preact/hooks'
import CheapGlkOte from 'cheap-glkote'
import TextBuffer from './TextBuffer'
import GridBuffer from './GridBuffer'
import TextBuffer from './OutputBox/TextBuffer'
import GridBuffer from './OutputBox/GridBuffer'
import InputBox from './InputBox'
import Status from './Status'
import InputBox from './InputBox/InputBox'
import Status from './Status/Status'
import { Handlers, unhandledRejectionHandler } from './playerHandlers'
import {
Handlers,
unhandledRejectionHandler
} from './common/playerHandlers'
import './player.css'

View file

@ -4,7 +4,7 @@ import { useState, useEffect } from 'preact/hooks'
import { engineByFilename } from './common/engines'
import Player from './Player'
import Status from './Status'
import Status from './Status/Status'
const INITIAL_STATUS = {
stage: 'loading',