قسمت بلاگ هنوز یه باگ داره | 30

temp
mahdi 3 years ago
parent bb4cc5824a
commit 2148b9ecae
  1. 2
      src/views/Blogs/layouts/Suggest.js
  2. 2
      src/views/Video/index.js

@ -3,9 +3,11 @@ import { connect } from "react-redux";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
export const Suggest = ({ blog }) => { export const Suggest = ({ blog }) => {
useEffect(() => { useEffect(() => {
window.scrollTo(0, 0); window.scrollTo(0, 0);
}, []); }, []);
return ( return (
<Link <Link
to={"/blogs/" + blog?.id} to={"/blogs/" + blog?.id}

@ -110,7 +110,7 @@ function Video({
</div> </div>
</div> </div>
) : ( ) : (
<div className="flex flex-col w-11/12 min-h-screen mx-auto pb-20 pt-24 "> <div className="flex flex-col w-11/12 min-h-screen mx-auto pb-20 pt-24 bg-red-300">
<header className="w-full flex flex-row gap-12"> <header className="w-full flex flex-row gap-12">
<div className="w-9/12"> <div className="w-9/12">
<Videos videos={book?.fileIds} /> <Videos videos={book?.fileIds} />

Loading…
Cancel
Save