Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maekawataiki committed Aug 29, 2024
1 parent d40cb1c commit 9c89b4f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/web/src/hooks/useRag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,7 @@ const useRag = (id: string) => {
? `(${_excerpt_page_number} ページ)`
: ''
}](
${
item.DocumentURI
? cleanEncode(item.DocumentURI)
: ''
}${
${item.DocumentURI ? cleanEncode(item.DocumentURI) : ''}${
_excerpt_page_number ? `#page=${_excerpt_page_number}` : ''
})`
: '';
Expand Down

0 comments on commit 9c89b4f

Please sign in to comment.