fix: resolve error

This commit is contained in:
RaktimaNXG
2024-09-03 13:13:49 +05:30
parent a044f4eceb
commit 6d9fc8b3df
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -24,7 +24,6 @@ import { RWebShare } from "react-web-share";
import Alert from "../primitives/Alert";
import Tour from "reactour";
import TourContentWithBtn from "../primitives/TourContentWithBtn";
import publicRole from "../assets/images/public-role.mp4";
function UserProfile() {
const navigate = useNavigate();
@@ -347,7 +346,7 @@ function UserProfile() {
<TourContentWithBtn
message={t("tour-mssg.public-template")}
isChecked={handleDontShow}
video={publicRole}
video="https://www.youtube.com/embed/aGjaMfm7Gqo?si=2Ul0nUlFovlVoZ1U"
/>
),
position: "top",
@@ -17,7 +17,7 @@ export default function TourContentWithBtn({ message, isChecked, video }) {
{video && (
<div className="flex items-center justify-center my-[10px] border-[1.3px] border-gray-400 rounded-sm">
<iframe
src="https://www.youtube.com/embed/aGjaMfm7Gqo?si=2Ul0nUlFovlVoZ1U"
src={video}
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowFullScreen