Anpassungen
This commit is contained in:
@@ -96,6 +96,9 @@ const PerformanceOptimizedFontCard = forwardRef(({
|
||||
const getFontStyle = useCallback((name) => {
|
||||
const baseStyle = { wordBreak: "break-word", lineHeight: "1.3", willChange: "auto" };
|
||||
const fontEntry = fontTransforms[name];
|
||||
if (!fontEntry) {
|
||||
console.warn(`Font definition missing for ${name}`);
|
||||
}
|
||||
if (!fontEntry) return baseStyle;
|
||||
|
||||
const style = { ...baseStyle };
|
||||
|
||||
Reference in New Issue
Block a user