File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -678,6 +678,7 @@ export const App = observer(function App() {
678678 )
679679
680680 const hasProject = Boolean ( project )
681+ const resolvedProject = project
681682
682683 const handleClickResizer : React . MouseEventHandler < HTMLDivElement > = ( e ) => {
683684 const tarEl = e . target as HTMLElement
@@ -731,7 +732,7 @@ export const App = observer(function App() {
731732 </ ErrorBoundary >
732733 ) : store . guiStore . isHomeSelected ( ) ? (
733734 < ErrorBoundary >
734- < HomePage project = { project } />
735+ < HomePage project = { resolvedProject as Project } />
735736 </ ErrorBoundary >
736737 ) : (
737738 < div
@@ -751,7 +752,7 @@ export const App = observer(function App() {
751752 } }
752753 >
753754 < ErrorBoundary >
754- < RundownView mappings = { project . mappings } />
755+ < RundownView mappings = { ( resolvedProject as Project ) . mappings } />
755756 </ ErrorBoundary >
756757 </ div >
757758 < div className = "movable-separator" >
@@ -769,7 +770,7 @@ export const App = observer(function App() {
769770 } }
770771 >
771772 < ErrorBoundary >
772- < Sidebar mappings = { project . mappings } />
773+ < Sidebar mappings = { ( resolvedProject as Project ) . mappings } />
773774 </ ErrorBoundary >
774775 </ div >
775776 </ div >
You can’t perform that action at this time.
0 commit comments