diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 7bab3aa..e7a76a8 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -39,8 +39,8 @@ function I({ label, value, onChange, type = 'text', placeholder, style }: any) { {label && } onChange(e.target.value)} placeholder={placeholder} style={{ padding: '8px 12px', borderRadius: 8, border: `1px solid ${C.border}`, fontSize: '14px', outline: 'none', background: '#FAFAFA', ...style }} - onFocus={e => { e.target.style.borderColor = C.gold; e.target.style.background = C.white; }} - onBlur={e => { e.target.style.borderColor = C.border; e.target.style.background = '#FAFAFA'; }} /> + onFocus={e => { (e.target.style as any).borderColor = C.gold; (e.target.style as any).background = '#FFFFFF'; }} + onBlur={e => { (e.target.style as any).borderColor = C.border; (e.target.style as any).background = '#FAFAFA'; }} /> ); } @@ -51,8 +51,8 @@ function TA({ label, value, onChange, rows = 3 }: any) { {label && }