UI Work on chats

This commit is contained in:
Patrick Fic
2020-02-21 15:02:56 -08:00
parent 0639131936
commit 31e0a1f081
12 changed files with 163 additions and 59 deletions

View File

@@ -34,10 +34,8 @@ export default connect(
const [selectedJob, setSelectedJob] = useState(hash ? hash.substr(1) : null);
const searchTextState = useState("");
const searchText = searchTextState[0];
if (error) return <AlertComponent message={error.message} type='error' />;
//TODO Implement pagination for this.
if (error) return <AlertComponent message={error.message} type="error" />;
console.log(typeof searchText);
return (
<div>
<JobsList

View File

@@ -135,9 +135,9 @@ export default function Manage({ match }) {
</Content>
</Layout>
<Footer>
<FooterComponent /> <ChatWindowContainer />
<FooterComponent />
</Footer>
<ChatWindowContainer />
<BackTop />
</Layout>
);