feat: 💨

This commit is contained in:
codytseng
2025-01-19 22:17:49 +08:00
parent 9c0fa6257a
commit df4d5e52ae
4 changed files with 64 additions and 26 deletions

View File

@@ -115,7 +115,7 @@ export default function SettingsPage({ index }: { index?: number }) {
}
const SettingItem = forwardRef<HTMLDivElement, HTMLProps<HTMLDivElement>>(
({ children, className, ...props }) => {
({ children, className, ...props }, ref) => {
return (
<div
className={cn(
@@ -123,6 +123,7 @@ const SettingItem = forwardRef<HTMLDivElement, HTMLProps<HTMLDivElement>>(
className
)}
{...props}
ref={ref}
>
{children}
</div>