Skip to content

Commit

Permalink
fix: issue with properties page for patternhub (#2486)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Apr 10, 2024
1 parent aa804ab commit f16f8ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions showcases/patternhub/components/default-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ const DefaultPage = ({ children }: any) => {
const router = useRouter();

useEffect(() => {
hljs.configure({
languages: [
'js',
'ts',
'jsx',
'tsx',
'css',
'scss',
'html',
'shell'
]
});
hljs.highlightAll();
}, []);

Expand Down

0 comments on commit f16f8ab

Please sign in to comment.