Explorar el Código

Added optional chain

Taichi Masuyama hace 3 años
padre
commit
ae743b66b7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/app/src/pages/[[...path]].page.tsx

+ 1 - 1
packages/app/src/pages/[[...path]].page.tsx

@@ -291,7 +291,7 @@ const GrowiPage: NextPage<Props> = (props: Props) => {
       <BasicLayout
       <BasicLayout
         title={useCustomTitle(props, 'GROWI')}
         title={useCustomTitle(props, 'GROWI')}
         className={classNames.join(' ')}
         className={classNames.join(' ')}
-        expandContainer={pageData.expandContentWidth ?? props.isContainerFluid}
+        expandContainer={pageData?.expandContentWidth ?? props.isContainerFluid}
       >
       >
         <div className="h-100 d-flex flex-column justify-content-between">
         <div className="h-100 d-flex flex-column justify-content-between">
           <header className="py-0 position-relative">
           <header className="py-0 position-relative">