This commit is contained in:
2025-08-01 20:36:35 +09:00
parent 5aeeba106a
commit 55745ff051
8 changed files with 20 additions and 32 deletions

View File

@@ -1,6 +1,7 @@
import React, { useState } from 'react'
import { atproto, collections } from '../api/atproto.js'
import { env } from '../config/env.js'
import { logger } from '../utils/logger.js'
const ProfileForm = ({ user, agent, apiConfig, onProfilePosted }) => {
const [text, setText] = useState('')
@@ -79,7 +80,7 @@ const ProfileForm = ({ user, agent, apiConfig, onProfilePosted }) => {
}
} catch (err) {
console.error('Failed to create profile:', err)
logger.error('Failed to create profile:', err)
setError(err.message || 'プロフィールの作成に失敗しました')
} finally {
setPosting(false)