mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
add slug page
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import clsx from 'clsx';
|
||||
import useInView from 'lib/hooks/use-in-view';
|
||||
import { useTheme } from 'next-themes';
|
||||
@ -64,4 +66,4 @@ const RUACodeSandbox = ({ url }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(RUACodeSandbox);
|
||||
export default memo(RUACodeSandbox);
|
@ -1,3 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import clsx from 'clsx';
|
||||
import useInView from 'lib/hooks/use-in-view';
|
||||
import { useTheme } from 'next-themes';
|
||||
@ -80,4 +82,4 @@ const RUACodepen = ({ defaultTab, url }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(RUACodepen);
|
||||
export default memo(RUACodepen);
|
@ -1,3 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import { Sandpack, SandpackProps } from '@codesandbox/sandpack-react';
|
||||
import { useTheme } from 'next-themes';
|
||||
import { memo } from 'react';
|
||||
@ -20,4 +22,4 @@ const RUASandpack = ({ ...rest }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(RUASandpack);
|
||||
export default memo(RUASandpack);
|
@ -1,3 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import clsx from 'clsx';
|
||||
import React, { memo, useState } from 'react';
|
||||
import { ItemProps } from './tab-item';
|
||||
@ -56,4 +58,4 @@ const Tab = ({ defaultValue, children }: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(Tab);
|
||||
export default memo(Tab);
|
Reference in New Issue
Block a user