mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
chore(deps): update dependencies
This commit is contained in:
@ -30,7 +30,7 @@ const GistsCode = ({ file, showFileName = false }: Props) => {
|
||||
.use(remarkParse)
|
||||
.use(remarkRehype)
|
||||
.use(remarkGfm)
|
||||
.use(rehypeHighlight, { ignoreMissing: true })
|
||||
.use(rehypeHighlight)
|
||||
.use(rehypeReact, {
|
||||
createElement,
|
||||
Fragment,
|
||||
|
@ -19,7 +19,7 @@ type Props = {
|
||||
const RUACodepen = ({ defaultTab, url }: Props) => {
|
||||
const urlArr = url.split('/');
|
||||
const { systemTheme, theme } = useTheme();
|
||||
const currentTheme = theme === 'system' ? systemTheme : theme ?? 'light';
|
||||
const currentTheme = theme === 'system' ? systemTheme : (theme ?? 'light');
|
||||
|
||||
const { ref, inView } = useInView();
|
||||
|
||||
|
Reference in New Issue
Block a user