update
This commit is contained in:
@@ -8,14 +8,8 @@ import { ControlPanel } from "../ControlPanel/ControlPanel";
|
||||
import { AnimatePresence, motion } from "framer-motion";
|
||||
import { sidebarVariants, popupAnimation } from "../../utils/animationProps";
|
||||
|
||||
type link = {
|
||||
id: string;
|
||||
};
|
||||
const userLocal = {
|
||||
id: Math.floor(Math.random() * 100),
|
||||
};
|
||||
|
||||
export const Sidebar: React.FC<any> = ({ closeStream, data }) => {
|
||||
export const Sidebar: React.FC<any> = ({ closeStream }) => {
|
||||
const [open, setOpen] = useState(true);
|
||||
const [popup, setPopup] = useState({
|
||||
popup1: false,
|
||||
@@ -23,7 +17,6 @@ export const Sidebar: React.FC<any> = ({ closeStream, data }) => {
|
||||
});
|
||||
|
||||
const [selected, setSelected] = useState(false);
|
||||
const [icon, setIcon] = useState("");
|
||||
|
||||
const [isMuted, setMuted] = useState(true);
|
||||
|
||||
@@ -100,7 +93,7 @@ export const Sidebar: React.FC<any> = ({ closeStream, data }) => {
|
||||
animate={"show"}
|
||||
exit={"hidden"}
|
||||
>
|
||||
<PopupShare data={data} setClose={handleClosePopups}></PopupShare>
|
||||
<PopupShare setClose={handleClosePopups}></PopupShare>
|
||||
</motion.div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user