Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
markohanesian committed Jul 16, 2024
1 parent 4f4c91d commit d0101bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
25 changes: 0 additions & 25 deletions src/components/CommentInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,6 @@ import { UserContext } from "../contexts/user";
import { db } from "../firebase";
import Liker from "./Liker";
import { Stack, TextField, Button } from "@mui/material";
import { styled } from "@mui/system";

// Styled component for custom TextField
const CustomTextField = styled(TextField)(({ theme }) => ({
"& .MuiInputBase-input": {
color: "white", // Text color
},
"& .MuiInputLabel-root": {
color: "whitesmoke", // Placeholder text color
},
"& .MuiInputLabel-root.Mui-focused": {
color: "whitesmoke", // Focused placeholder text color
},
"& .MuiOutlinedInput-root": {
"& fieldset": {
borderColor: "whitesmoke", // Unfocused border color
},
"&:hover fieldset": {
borderColor: "whitesmoke", // Hover border color
},
"&.Mui-focused fieldset": {
borderColor: "whitesmoke", // Focused border color
},
},
}));

export default function CommentInput({ id, comments }) {
const [user] = useContext(UserContext).user;
Expand Down
1 change: 0 additions & 1 deletion src/pages/HomePage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useContext } from "react";
import CreatePost from "../components/CreatePost";
import Feed from "./FeedPage";
import { UserContext } from "../contexts/user";
import HeaderNewUser from "../components/HeaderNewUser";
Expand Down

0 comments on commit d0101bd

Please sign in to comment.