diff --git a/frontend/src/tools/devtools.jsx b/frontend/src/tools/devtools.jsx
index 2e8702c..626ac26 100644
--- a/frontend/src/tools/devtools.jsx
+++ b/frontend/src/tools/devtools.jsx
@@ -314,10 +314,7 @@ function ElektroRechner({ mobile }) {
const n = k => { const v = parseFloat(vals[k]); return isNaN(v) ? null : v; };
const fmt = (v, unit, digits=3) => v == null ? '—' : `${parseFloat(v.toPrecision(digits))} ${unit}`;
- // Shorthand mit gebundenen props
- const Inp = (props) => ;
- const Res = (props) => ;
- const Sec = (props) => ;
+ // Res und Sec als direkte Aliase (kein Render-Problem, keine Inputs)
const cols = mobile ? '1fr' : '1fr 1fr';
@@ -379,51 +376,51 @@ function ElektroRechner({ mobile }) {
{/* Ohmsches Gesetz */}
-
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
{/* Leistung */}
-
+
-
-
-
-
+
+
+
+
{leistRes ? <>
-
-
-
-
+
+
+
+
> : Mindestens 2 Werte eingeben
}
-
+
{/* Wirkungsgrad */}
-
+
-
-
+
+
-
-
-
+
+
+
{/* Stromkosten */}
-
+
-
-
-
+
+
+
@@ -433,41 +430,41 @@ function ElektroRechner({ mobile }) {
step="0.01" min="0"
style={{ ...S.inp, fontSize:13, padding:'7px 9px', width:'100%', boxSizing:'border-box' }}/>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
{/* Widerstände */}
-
+
SERIE (R = R1+R2+…)
- {['rs1','rs2','rs3','rs4'].map(k=>)}
+ {['rs1','rs2','rs3','rs4'].map(k=>)}
-
=2 ? fmt(R_ser,'Ω') : '—'} highlight={r_ser.length>=2}/>
+ =2 ? fmt(R_ser,'Ω') : '—'} highlight={r_ser.length>=2}/>
PARALLEL (1/R = 1/R1+1/R2+…)
- {['rp1','rp2','rp3','rp4'].map(k=>)}
+ {['rp1','rp2','rp3','rp4'].map(k=>)}
-
=2 ? fmt(R_par,'Ω') : '—'} highlight={r_par.length>=2}/>
+ =2 ? fmt(R_par,'Ω') : '—'} highlight={r_par.length>=2}/>
-
+
{/* Kondensator */}
-
+
-
-
-
+
+
+
-
-
+
+