diff --git a/src/components/Code.tsx b/src/components/Code.tsx index 9ecbe6c..23b055b 100644 --- a/src/components/Code.tsx +++ b/src/components/Code.tsx @@ -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'] }) diff --git a/src/pages/post/[slug].tsx b/src/pages/post/[slug].tsx index 4c8f8c7..157357f 100644 --- a/src/pages/post/[slug].tsx +++ b/src/pages/post/[slug].tsx @@ -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'