Skip to content

Commit

Permalink
Remove unnecessary script tag for Go language highlighting in Layout.…
Browse files Browse the repository at this point in the history
…tsx file
  • Loading branch information
yasuaki640 committed Jul 13, 2024
1 parent bb3c308 commit 5265ca8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/views/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ export const Layout: FC = ({ children }) => (
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/go.min.js" />
<script>hljs.highlightAll();</script>
</head>

<body>{children}</body>
</html>
);

0 comments on commit 5265ca8

Please sign in to comment.