forked from React-Group/interstellar_ai
HelloWorld
This commit is contained in:
parent
9100b0c0f4
commit
ce4dac8227
1 changed files with 20 additions and 16 deletions
|
@ -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') || '');
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue