diff --git a/src/pages/travelers/Traveler.js b/src/pages/travelers/Traveler.js index d547981..a9ed40a 100644 --- a/src/pages/travelers/Traveler.js +++ b/src/pages/travelers/Traveler.js @@ -1,30 +1,52 @@ -import React from 'react' -import styles from '../../styles/TravelerProfile.module.css' -import btnStyles from '../../styles/Button.module.css' -import { useCurrentUser } from '../../contexts/CurrentUserContext' -import { Link } from 'react-router-dom' -import Avatar from '../../components/Avatar' +import React from "react"; +import styles from "../../styles/TravelerProfile.module.css"; +import btnStyles from "../../styles/Button.module.css"; +import { useCurrentUser } from "../../contexts/CurrentUserContext"; +import { Link } from "react-router-dom"; +import Avatar from "../../components/Avatar"; +import { Button } from "react-bootstrap"; const Traveler = (props) => { - const {traveler, mobile, imageSize=55} = props - const {id, following_id, image, owner} = traveler; + const { traveler, mobile, imageSize = 55 } = props; + const { id, following_id, image, owner } = traveler; - const currentUser = useCurrentUser(); - const is_owner = currentUser?.username === owner; + const currentUser = useCurrentUser(); + const is_owner = currentUser?.username === owner; return ( -