diff --git a/src/screens/Address/index.js b/src/screens/Address/index.js
index a33e800..8714e14 100644
--- a/src/screens/Address/index.js
+++ b/src/screens/Address/index.js
@@ -7,7 +7,6 @@ import {
StatusBar,
Platform,
Dimensions,
- Appearance,
KeyboardAvoidingView,
TextInput,
TouchableWithoutFeedback,
@@ -24,7 +23,6 @@ import Navbar from "../../components/Navbar";
import CustomPressable from "../../components/Pressable";
import CustomTextInput from "../../components/CustomTextInput";
import Select from "../../components/Select";
-import MapSelector from "../../components/MapSelector";
//style
import tw from "tailwind-rn";
@@ -56,12 +54,11 @@ const Address = ({
}) => {
const [addressFields, setAddressFields] = useState({});
const [mapAddress, setMapAddress] = useState(null);
- const colorScheme = Appearance.getColorScheme();
const navigation = useNavigation();
const profilePage = React.useMemo(() => {
return route.params?.type === "profile";
- });
+ },[route]);
useEffect(() => {
getProvince();
diff --git a/src/screens/Home/components/Blogs.js b/src/screens/Home/components/Blogs.js
index 95ec949..121a5dd 100644
--- a/src/screens/Home/components/Blogs.js
+++ b/src/screens/Home/components/Blogs.js
@@ -4,10 +4,8 @@ import {
Image,
Text,
Dimensions,
- TouchableOpacity,
FlatList,
Pressable,
- Appearance,
Platform,
} from "react-native";
import { connect } from "react-redux";
@@ -15,6 +13,7 @@ import { useNavigation } from "@react-navigation/native";
//components
import Header from "../components/Header";
+import Avatar from "../../../components/Avatar";
//Style
import tw from "tailwind-rn";
@@ -121,26 +120,28 @@ const Blog = ({ blog, mobile, theme }) => {
},
]}
>
- حامد دژبانی نسب
-
-
-
-
- ۳۰ دقیقه
+ سر دبیر بخش وبلاگ دانوین
+ {blog?.duration ? (
+
+
+ ۳۰ دقیقه
+
+
+ ) : null}