chore: update ESLint configuration and dependencies, remove experimental instrumentationHook from Next.js config, and adjust package scripts
- Added ESLint configuration file with Next.js and Remotion settings. - Removed experimental instrumentationHook from next.config.mjs. - Updated package.json scripts to use ESLint directly and enabled turbopack for development. - Bumped various dependencies including Next.js, React, and Radix UI components. - Changed searchTimer initialization to use undefined for better clarity in multiple components.
This commit is contained in:
1 parent
da3f865450
commit
4f7e770cf3
8 files changed
+2110
-61
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ export default function TagMissingLocationOSMSearchAndAdd(
|
||||
) {
|
||||
const { toast } = useToast();
|
||||
const [searchedPlaces, setSearchedPlaces] = useState<IPlace[] | null>(null);
|
||||
const searchTimer = useRef<NodeJS.Timeout>();
|
||||
const searchTimer = useRef<NodeJS.Timeout>(undefined);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [submitting, setSubmitting] = useState(false);
|
||||
const [selectedPlace, setSelectedPlace] = useState<IPlace | null>(null);
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ export default function TagMissingLocationSearchAndAdd(
|
||||
) {
|
||||
const { toast } = useToast();
|
||||
const [searchedPlaces, setSearchedPlaces] = useState<IPlace[] | null>(null);
|
||||
const searchTimer = useRef<NodeJS.Timeout>();
|
||||
const searchTimer = useRef<NodeJS.Timeout>(undefined);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [submitting, setSubmitting] = useState(false);
|
||||
const [selectedPlace, setSelectedPlace] = useState<IPlace | null>(null);
|
||||
|
||||
@@ -54,7 +54,7 @@ export function PersonMergeDropdown({
|
||||
const [open, setOpen] = useState(false);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [similarLoading, setSimilarLoading] = useState(true);
|
||||
const searchTimer = useRef<NodeJS.Timeout>();
|
||||
const searchTimer = useRef<NodeJS.Timeout>(undefined);
|
||||
const [selectedPeople, setSelectedPeople] = useState<IPerson[]>([]);
|
||||
const [primaryPerson, setPrimaryPerson] = useState<IPerson>(person);
|
||||
const [merging, setMerging] = useState(false);
|
||||
|
||||
@@ -45,7 +45,7 @@ const Autocomplete = React.forwardRef<HTMLInputElement, AutocompleteProps>(
|
||||
const [selectedIndex, setSelectedIndex] = React.useState(-1)
|
||||
const containerRef = React.useRef<HTMLDivElement>(null)
|
||||
const inputRef = React.useRef<HTMLInputElement>(null)
|
||||
const debounceTimeout = React.useRef<NodeJS.Timeout>()
|
||||
const debounceTimeout = React.useRef<NodeJS.Timeout>(undefined)
|
||||
|
||||
// Find the label for the current value
|
||||
const currentLabel = React.useMemo(() => {
|
||||
|
||||
Reference in new issue
Block a user