@@ -9,13 +9,11 @@ export const ModuleFace = ({
99 module,
1010 rackWidth,
1111 className = '' ,
12- animationsEnabled = true ,
1312 isPowered = true ,
1413} : {
1514 module : RackModule ;
1615 rackWidth ?: RackWidth ;
1716 className ?: string ;
18- animationsEnabled ?: boolean ;
1917 isPowered ?: boolean ;
2018} ) => {
2119 const hasImage = ! ! module . image ;
@@ -45,24 +43,24 @@ export const ModuleFace = ({
4543 { /* Visual Features based on Type */ }
4644 < div className = "flex gap-2 w-full justify-center" >
4745 { /* Networking: Ports */ }
48- { module . type === 'network' && < NetworkFace module = { module } animationsEnabled = { animationsEnabled } isPowered = { isPowered } /> }
46+ { module . type === 'network' && < NetworkFace module = { module } isPowered = { isPowered } /> }
4947
5048 { /* Server: Indicators or Drive Bays */ }
51- { module . type === 'server' && < ServerFace animationsEnabled = { animationsEnabled } isPowered = { isPowered } /> }
49+ { module . type === 'server' && < ServerFace isPowered = { isPowered } /> }
5250
5351 { /* Storage: Drive Arrays */ }
5452 { module . type === 'storage' && (
55- < StorageFace module = { module } rackWidth = { rackWidth } animationsEnabled = { animationsEnabled } isPowered = { isPowered } />
53+ < StorageFace module = { module } rackWidth = { rackWidth } isPowered = { isPowered } />
5654 ) }
5755
5856 { /* Power: Switch/Outlets */ }
5957 { module . type === 'power' && (
60- < PowerFace module = { module } rackWidth = { rackWidth } animationsEnabled = { animationsEnabled } isPowered = { isPowered } />
58+ < PowerFace module = { module } rackWidth = { rackWidth } isPowered = { isPowered } />
6159 ) }
6260
6361 { /* Accessories */ }
6462 { module . type === 'accessory' && (
65- < AccessoryFace module = { module } rackWidth = { rackWidth } animationsEnabled = { animationsEnabled } isPowered = { isPowered } />
63+ < AccessoryFace module = { module } rackWidth = { rackWidth } isPowered = { isPowered } />
6664 ) }
6765 </ div >
6866 </ div >
0 commit comments