Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 82d7c37

Browse files
authored
chore: fix some typos in comment (#535)
Signed-off-by: toofooboo <cmaker@foxmail.com>
1 parent 544061f commit 82d7c37

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

playground/src/ui-system.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export const app = new Frog({
320320
<VStack gap="4" grow>
321321
<Heading>{'<Spacer>'}</Heading>
322322
<Text color="text200" size="18">
323-
Space betwen elements
323+
Space between elements
324324
</Text>
325325
<Spacer size="16" />
326326
<Box backgroundColor="background200" grow padding="16">

src/frog-base.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ export class FrogBase<
10531053

10541054
if (response.status !== 'success')
10551055
throw new Error(
1056-
`Unexepcted Error: Image response must always have value 'success'.`,
1056+
`Unexpected Error: Image response must always have value 'success'.`,
10571057
)
10581058

10591059
const defaultImageOptions = await (async () => {

ui/src/utils/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export async function handlePostRedirect(button: {
105105
})
106106
.then((response) => response.json())
107107

108-
if (!json.response.success) throw new Error('Post redirect did not suceed.')
108+
if (!json.response.success) throw new Error('Post redirect did not succeed.')
109109

110110
const id = json.id
111111
store.setState((state) => {

0 commit comments

Comments
 (0)