HelloWorld

This commit is contained in:
Patrick_Pluto 2024-10-03 13:33:07 +02:00
parent 9100b0c0f4
commit ce4dac8227

View file

@ -193,6 +193,10 @@ const ModelSection: React.FC = () => {
localStorage.setItem("radioSelection", 'None') localStorage.setItem("radioSelection", 'None')
} }
if (!localStorage.getItem("type")) {
localStorage.setItem("type", 'local')
}
const handleStorageChange = () => { const handleStorageChange = () => {
setSelectedModelDropdown(localStorage.getItem('selectedModelDropdown') || ''); setSelectedModelDropdown(localStorage.getItem('selectedModelDropdown') || '');
}; };