refactor: 移除 MUI sx 样式和未使用的 GlobalSnackbar 引用

This commit is contained in:
雨霖铃
2026-05-22 20:51:57 +08:00
parent b3dd7146ad
commit 21e44cb889
8 changed files with 10 additions and 28 deletions
+1 -7
View File
@@ -28,15 +28,9 @@ export default function Index() {
subtitle={t('qrCode:pageSubtitle')}
icon={<QrCode />}
iconColor={qrCodePageStyles.primaryColor}
sx={{ marginBottom: '0.625rem' }}
/>
<SwitchButtonGroup
value={qrCode.mode}
options={modeOptions}
onChange={qrCode.setMode}
sx={{ marginBottom: '0.75rem' }}
/>
<SwitchButtonGroup value={qrCode.mode} options={modeOptions} onChange={qrCode.setMode} />
{qrCode.mode === 'generate' ? <GeneratePanel /> : <ParsePanel />}
</div>