fix: Language cache sight
This commit is contained in:
@@ -2,11 +2,15 @@ import { Box, TextField } from "@mui/material";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
export const CoordinatesInput = ({
|
||||
initialValue,
|
||||
setValue,
|
||||
}: {
|
||||
initialValue: { latitude: number; longitude: number };
|
||||
setValue: (value: { latitude: number; longitude: number }) => void;
|
||||
}) => {
|
||||
const [inputValue, setInputValue] = useState<string>("");
|
||||
const [inputValue, setInputValue] = useState<string>(
|
||||
`${initialValue.latitude} ${initialValue.longitude}`
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
setValue({
|
||||
|
||||
Reference in New Issue
Block a user