removed console
This commit is contained in:
parent
0e0d07411d
commit
3c78313c90
@ -117,6 +117,21 @@ const SearchableSelect = ({
|
||||
}
|
||||
}, [isOpen]);
|
||||
|
||||
const resubmissionData = localStorage.getItem('resubmissionData');
|
||||
if (resubmissionData) {
|
||||
const parsedData = JSON.parse(resubmissionData);
|
||||
|
||||
// Store quarter and year in localStorage
|
||||
if (parsedData.quarter) {
|
||||
localStorage.setItem('currentQuarter', parsedData.quarter);
|
||||
}
|
||||
if (parsedData.year) {
|
||||
localStorage.setItem('currentYear', parsedData.year);
|
||||
}
|
||||
} else {
|
||||
console.log('No resubmission data found');
|
||||
}
|
||||
|
||||
// Filter options based on search term
|
||||
const filteredOptions = React.useMemo(() => {
|
||||
if (!searchTerm) return options;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user