Fix onboarding and data issues

- Fix issue where welcome dialog reappears.
- Fix issue where new expenses are not reflected.
- Improve card layout on mobile devices.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-16 05:47:21 +00:00
parent 50520ed254
commit f98db16d17
4 changed files with 85 additions and 45 deletions

View File

@@ -22,6 +22,10 @@ const WelcomeDialog: React.FC<WelcomeDialogProps> = ({ open, onClose }) => {
const [dontShowAgain, setDontShowAgain] = useState(false);
const handleClose = () => {
// 체크박스가 체크되어 있으면 localStorage에 직접 저장
if (dontShowAgain) {
localStorage.setItem('dontShowWelcome', 'true');
}
onClose(dontShowAgain);
};