MCPcopy Create free account
hub / github.com/dfinityexplorer/dfinityexplorer-dashboard / componentDidMount

Function componentDidMount

web/src/App.js:123–129  ·  view source on GitHub ↗

* Invoked by React immediately after a component is mounted (inserted into the tree). * @public

()

Source from the content-addressed store, hash-verified

121 * @public
122 */
123 componentDidMount() {
124 // Load fonts.
125 loadCSS(
126 Constants.URI_CDN_GOOGLE_FONTS,
127 document.querySelector('#insertion-point-jss')
128 );
129 }
130
131 /**
132 * Return a reference to a React element to render into the DOM.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected