File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/features/instance/applications/context Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,14 +130,14 @@ export function EditorViewProvider({ children }: PropsWithChildren) {
130130 const loadedPath = getComponentFileQueryData ?. project + '/' + getComponentFileQueryData ?. file ;
131131 let contents = getComponentFileQueryData ?. message ;
132132 if (
133- loadedPath === pathToLoad && contents
133+ loadedPath === pathToLoad && contents !== undefined
134134 ) {
135135 const baseURL = instanceParams . instanceClient . defaults . baseURL ;
136136 if ( loadedOverviewEntry && baseURL && getComponentFileQueryData ) {
137137 contents = parseReadMe ( contents , baseURL , getComponentFileQueryData ) ;
138138 }
139139 // eslint-disable-next-line react-hooks/set-state-in-effect
140- setOpenedEntryContents ( contents || undefined ) ;
140+ setOpenedEntryContents ( contents ) ;
141141 } else {
142142 setOpenedEntryContents ( undefined ) ;
143143 }
You can’t perform that action at this time.
0 commit comments