updated image loading
This commit is contained in:
@@ -16,9 +16,9 @@ const NavigationArrow = ({ side, settingsPage }: NavigationArrowProps) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (side === "TargetDetectionFront") {
|
||||
if (side === "Front") {
|
||||
navigate("/front-camera-settings");
|
||||
} else if (side === "TargetDetectionRear") {
|
||||
} else if (side === "Rear") {
|
||||
navigate("/Rear-Camera-settings");
|
||||
}
|
||||
};
|
||||
@@ -42,10 +42,9 @@ const NavigationArrow = ({ side, settingsPage }: NavigationArrowProps) => {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
{side === "TargetDetectionFront" ? (
|
||||
{side === "Front" ? (
|
||||
<FontAwesomeIcon
|
||||
icon={faArrowLeft}
|
||||
className="absolute top-[50%] left-[2%] backdrop-blur-md hover:cursor-pointer animate-bounce"
|
||||
|
||||
Reference in New Issue
Block a user