Skip to content

Commit

Permalink
fix: preload icon css to fix resizing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Dec 16, 2024
1 parent 4ee161d commit 071d581
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import styles from './index.module.css';

import '@fortawesome/fontawesome-svg-core/styles.css';
import { config } from '@fortawesome/fontawesome-svg-core';
config.autoAddCss = false;

function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
Expand Down

0 comments on commit 071d581

Please sign in to comment.