Skip to content

Commit 885c22a

Browse files
committed
Fix build error: Remove unused Paper import from ControlPanel
1 parent fecbe86 commit 885c22a

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

src/components/AboutPage.tsx

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import NavigationBar from './NavigationBar';
99
import Footer from './Footer';
1010

1111
const AboutPage: React.FC = () => {
12+
1213
return (
1314
<>
1415
<NavigationBar />
@@ -90,27 +91,19 @@ const AboutPage: React.FC = () => {
9091
}}>
9192
{/* Wistia Video Player */}
9293
<Box
94+
dangerouslySetInnerHTML={{
95+
__html: '<wistia-player media-id="qjdv24o4kb" aspect="2.6373626373626373"></wistia-player>'
96+
}}
9397
sx={{
9498
width: '100%',
9599
borderRadius: '8px',
96100
boxShadow: '0 4px 12px rgba(0, 0, 0, 0.15)',
97101
overflow: 'hidden',
98102
position: 'relative',
99103
backgroundColor: '#000',
100-
minHeight: '300px',
101-
'& wistia-player': {
102-
width: '100%',
103-
height: '100%',
104-
display: 'block'
105-
}
104+
minHeight: '300px'
106105
}}
107-
>
108-
<wistia-player
109-
media-id="qjdv24o4kb"
110-
aspect="2.6373626373626373"
111-
style={{ width: '100%', height: '100%', display: 'block' }}
112-
/>
113-
</Box>
106+
/>
114107

115108
<Typography variant="body2" sx={{
116109
textAlign: 'center',

src/components/ControlPanel/ControlPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import React, { useState, useMemo, useCallback } from 'react';
22
import {
33
Box,
44
Typography,
5-
Button,
6-
Paper
5+
Button
76
} from '@mui/material';
87
import { VisualEffect } from '../../types/visualEffects';
98
import { ControlPanelStyles } from './ControlPanelStyles';

0 commit comments

Comments
 (0)