Skip to content

Commit

Permalink
before presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danchan020 committed Aug 4, 2022
1 parent 3eb6391 commit 38f7e6d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, {useState, useEffect} from 'react';
import './App.css';
import { Routes, Route, useNavigate } from "react-router-dom"
import { useDispatch, useSelector } from 'react-redux'
import { selectUser } from '../src/features/user'
Expand All @@ -11,6 +10,8 @@ import UserProfile from './components/UserProfile';
import OtherProfile from './components/OtherProfile';
import Conversations from './components/Conversations';
import Conversation from './components/Conversation'
import "./Conversation.css"
import './App.css';

function App() {
const navigate = useNavigate();
Expand Down
1 change: 0 additions & 1 deletion client/src/components/Conversation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useParams } from 'react-router-dom'
import { useSelector } from 'react-redux'
import { selectUser } from '../features/user'
import { createConsumer } from "@rails/actioncable"
import "../Conversation.css"

export default function Conversation({handleSignOut, conversations}) {
let { id } = useParams()
Expand Down
1 change: 0 additions & 1 deletion client/src/components/ConversationCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useSelector } from 'react-redux'
import { selectUser } from '../features/user'
import { Box, VStack, HStack, Center, Avatar, Text } from '@chakra-ui/react'
import { Link } from 'react-router-dom'
import '../Conversation.css'


export default function ConversationCard({id, author, receiver, messages}) {
Expand Down

0 comments on commit 38f7e6d

Please sign in to comment.