typical minor changes moment
This commit is contained in:
parent
9ccc3d8bc4
commit
7fb098bc73
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ import "prismjs/components/prism-handlebars";
|
|||
|
||||
export default function PrismLoader() {
|
||||
useEffect(() => {
|
||||
Prism.highlightAll();
|
||||
if (Prism) {
|
||||
Prism.highlightAll();
|
||||
}
|
||||
}, []);
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue