We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 454045a commit bcbceddCopy full SHA for bcbcedd
src/App.jsx
@@ -27,9 +27,9 @@ function App() {
27
const [error, setError] = useState(null);
28
const [selectedModel, setSelectedModel] = useState(null);
29
const [noTesla, setNoTesla] = useState(() => {
30
- // Initialize from localStorage, fallback to false
+ // Initialize from localStorage, default to true (no Tesla)
31
const saved = localStorage.getItem('noTesla');
32
- return saved === 'true';
+ return saved !== 'false';
33
});
34
const [selectedDate, setSelectedDate] = useState(null);
35
const [selectedCategory, setSelectedCategory] = useState(DEFAULT_CATEGORY);
0 commit comments