import { StaticConfig } from "coral-common/config" ; export default function getStaticConfig ( window ) { const element = window . document . getElementById ( "config" ) ! ; if ( ! element ) { return null ; } const config = JSON . parse ( element . innerText ) ; return config ; }