Skip to content

Commit

Permalink
try to minimise page size
Browse files Browse the repository at this point in the history
  • Loading branch information
ashsmith committed Oct 9, 2024
1 parent 3bbd5df commit 4791b7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Code.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import Refractor from 'react-refractor/all'
import Refractor from 'react-refractor'
import refractor from 'refractor'
refractor.alias({ bash: ['terraform'] })

Expand Down
1 change: 0 additions & 1 deletion src/pages/post/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { GetStaticProps, InferGetStaticPropsType } from 'next'
import Head from 'next/head'
import Image from 'next/image'
import { useLiveQuery } from 'next-sanity/preview'
import { SlSettings } from 'react-icons/sl'

import { Code } from '~/components/Code'
import Container from '~/components/Container'
Expand Down

0 comments on commit 4791b7f

Please sign in to comment.