Skip to content

Commit 746e8ba

Browse files
committed
コンフリクト修正
1 parent 4bd7c54 commit 746e8ba

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/[docs_id]/chatForm.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ export function ChatForm({ documentContent, sectionId }: ChatFormProps) {
113113
type="submit"
114114
className="btn btn-soft btn-circle btn-accent border-2 border-accent rounded-full"
115115
title="送信"
116-
style={{marginTop:"10px"}}
117-
disabled={isLoading || !inputValue.trim()}
116+
disabled={isLoading}
118117
>
119118
<span className="icon"></span>
120119
</button>

app/[docs_id]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ export default async function Page({
4848
{splitMdContent.map((section, index) => {
4949
const sectionId = `${docs_id}-${index}`;
5050
return (
51-
<Section key={sectionId} section={section} sectionId={sectionId} />
51+
<div key={index} id={`${index}`}>
52+
<Section section={section} sectionId={sectionId} />
53+
</div>
5254
);
5355
})}
5456
</div>

0 commit comments

Comments
 (0)