patch component references in pages/
This commit is contained in:
parent
8622b5747f
commit
e1e45f679b
4 changed files with 11 additions and 11 deletions
|
@ -3,11 +3,11 @@ import './MainWrapper.scss';
|
||||||
|
|
||||||
import NavBar from '../NavBar/NavBar';
|
import NavBar from '../NavBar/NavBar';
|
||||||
import Sidebar from '../Sidebar/Sidebar';
|
import Sidebar from '../Sidebar/Sidebar';
|
||||||
import Account from '../../pages/Account/Account';
|
import Account from '../../Account/Account';
|
||||||
import Game from '../../pages/Game/Game';
|
import Game from '../../Game/Game';
|
||||||
import Home from '../../pages/Home/Home';
|
import Home from '../../Home/Home';
|
||||||
import News from '../../pages/News/News';
|
import News from '../../News/News';
|
||||||
import Room from '../../pages/Room/Room';
|
import Room from '../../Room/Room';
|
||||||
|
|
||||||
const MainWrapper = (props) => {
|
const MainWrapper = (props) => {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import './NavBar.scss';
|
import './NavBar.scss';
|
||||||
import Logo from '../Logo/Logo';
|
import Logo from '../../../components/Logo/Logo';
|
||||||
|
|
||||||
const NavBar = (props) => {
|
const NavBar = (props) => {
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import { BrowserRouter as Router } from 'react-router-dom';
|
import { BrowserRouter as Router } from 'react-router-dom';
|
||||||
import { render } from '@testing-library/react';
|
import { render } from '@testing-library/react';
|
||||||
import NavBar from './NavBar';
|
import NavBar from './NavBar';
|
||||||
import { initState } from '../../reducers/init/stateReducer.init';
|
import { initState } from '../../../reducers/init/stateReducer.init';
|
||||||
|
|
||||||
test('renders NavBar without crashing', () => {
|
test('renders NavBar without crashing', () => {
|
||||||
const { getByTestId } = render(
|
const { getByTestId } = render(
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import './Sidebar.scss';
|
import './Sidebar.scss';
|
||||||
|
|
||||||
import AccountSidebar from '../../pages/Account/AccountSidebar';
|
import AccountSidebar from '../../Account/AccountSidebar';
|
||||||
import HomeSidebar from '../../pages/Home/HomeSidebar';
|
import HomeSidebar from '../../Home/HomeSidebar';
|
||||||
import NewsSidebar from '../../pages/News/NewsSidebar';
|
import NewsSidebar from '../../News/NewsSidebar';
|
||||||
import RoomSidebar from '../../pages/Room/RoomSidebar';
|
import RoomSidebar from '../../Room/RoomSidebar';
|
||||||
|
|
||||||
const Sidebar = (props) => {
|
const Sidebar = (props) => {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue