Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Nov 9, 2024
1 parent 3aaf897 commit d6bc72e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/islands/note/components/notes/TextNote/AI.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
type GenerateContentResponse,
type GenerateContentStreamResult,
type GoogleGenerativeAI,
GoogleGenerativeAIResponseError,
type GenerateContentResponse,
GoogleGenerativeAIFetchError,
GoogleGenerativeAIResponseError,
} from '@google/generative-ai'
import markdownIt from 'markdown-it'
import {
Expand Down
4 changes: 3 additions & 1 deletion src/islands/note/components/utils/Spinner.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const Spinner = () => {
return <div class="animate-spin h-[1.2rem] w-[1.2rem] border-2 border-surface rounded-full border-t-transparent inline-block" />
return (
<div class="animate-spin h-[1.2rem] w-[1.2rem] border-2 border-surface rounded-full border-t-transparent inline-block" />
)
}

0 comments on commit d6bc72e

Please sign in to comment.