feat: add authenticated settings page.

This commit is contained in:
liqupan
2026-02-02 20:12:19 +08:00
parent cb3e16cd16
commit 6c32d845a7
259 changed files with 24685 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { Button } from '@/components/ui/button';
import { useCharacterDialog } from './character-dialog-context';
export function CharactersPrimaryButtons() {
const { setOpen, setCharacter } = useCharacterDialog();
const handleCreate = () => {
setCharacter(null); // Clear character for creation
setOpen(true);
};
return (
<div className='flex gap-2'>
<Button onClick={handleCreate}></Button>
</div>
);
}