manage theme
This commit is contained in:
@@ -4,7 +4,7 @@ import * as Keychain from "react-native-keychain";
|
||||
import { StackNavigationProp } from "@react-navigation/stack";
|
||||
import { useNavigation } from "@react-navigation/native";
|
||||
import { RootStackParamList } from "../navigation/AppNavigator"; // adjust path
|
||||
import { BASE_URL } from "../utils/ApiUrls";
|
||||
import { BASE_URL, PUT_USER_STATUS } from "../utils/ApiUrls";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
import { setUserData } from "../redux/userSlice";
|
||||
import colors from "../components/colors";
|
||||
@@ -30,7 +30,7 @@ const SplashScreen = () => {
|
||||
}
|
||||
const token = credentials.password;
|
||||
|
||||
const response = await fetch(`${BASE_URL}user/profile/status`, {
|
||||
const response = await fetch(PUT_USER_STATUS, {
|
||||
method: "GET",
|
||||
headers: {
|
||||
Accept: "*/*",
|
||||
|
||||
Reference in New Issue
Block a user