chore: tidy

This commit is contained in:
cha0s 2021-01-25 22:15:31 -06:00
parent 3c43951e63
commit 03c9dad957
5 changed files with 16 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import './index.scss';
import {useLatus} from '@latus/react/client';
import {useLatus} from '@latus/react';
import classnames from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';

View File

@ -2,10 +2,13 @@ import './index.scss';
import {join} from 'path';
import {useLatus} from '@latus/react/client';
import classnames from 'classnames';
import PropTypes from 'prop-types';
import React, {useCallback, useState} from 'react';
import React, {
useCallback,
useLatus,
useState,
} from '@latus/react';
import useEvent from 'hooks/use-event';

View File

@ -1,7 +1,7 @@
// TODO should be betta
import 'pixi.js-legacy';
import {LatusContext, useLatus} from '@latus/react/client';
import {LatusContext, useLatus} from '@latus/react';
import {Provider, useStore} from '@latus/redux';
import React from 'react';
import {

View File

@ -1,4 +1,8 @@
import {useEffect, useLatus, useState} from '@latus/react/client';
import {
useEffect,
useLatus,
useState,
} from '@latus/react';
import {useSocket} from '@latus/socket';
export default () => {

View File

@ -1,4 +1,7 @@
import {useEffect, useState} from '@latus/react/client';
import {
useEffect,
useState,
} from '@latus/react';
import {useSelector} from '@latus/redux';
import {selfEntitySelector} from '../state';