mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
added return button in thread
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React, { useState, useEffect, useContext } from 'react';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { Container, NavBar, Header, Break, PostForm, TopBar } from './styles/Board.styled';
|
||||
import { ReplyFormTable, ReplyFormLink } from './styles/Thread.styled';
|
||||
import { Container, NavBar, Header, Break, PostForm } from './styles/Board.styled';
|
||||
import { ReplyFormTable, ReplyFormLink, TopBar } from './styles/Thread.styled';
|
||||
import { BoardContext } from '../App';
|
||||
import ImageBanner from './ImageBanner';
|
||||
|
||||
@@ -203,6 +203,11 @@ const Thread = ({ setBodyStyle }) => {
|
||||
<option value="Photon">Photon</option>
|
||||
</select>
|
||||
</span>
|
||||
<span className="return-button">
|
||||
[
|
||||
<Link to="/board">Return</Link>
|
||||
]
|
||||
</span>
|
||||
<hr />
|
||||
</TopBar>
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user