Replace panel tileKey with a direct color prop.

Drop theme panelTiles keys and the ArticleView update callback wiring.
This commit is contained in:
seb
2026-08-05 18:38:21 +02:00
parent 1fda43b20d
commit 4ccc92c01f
15 changed files with 20 additions and 70 deletions

View File

@@ -78,7 +78,7 @@ class ArticlePhotoTile extends Component {
wide = 1,
minHeight = 200,
sx,
tileKey,
color,
} = this.props;
const { busy, editOpen } = this.state;
const photo = primaryPhoto(articleData);
@@ -90,7 +90,7 @@ class ArticlePhotoTile extends Component {
wide={wide}
minHeight={minHeight}
sx={sx}
tileKey={tileKey}
color={color}
action={
hasPhoto
? {