Skip to content

Commit

Permalink
chore: fix some typos in comment (#535)
Browse files Browse the repository at this point in the history
Signed-off-by: toofooboo <[email protected]>
  • Loading branch information
toofooboo authored Dec 24, 2024
1 parent 544061f commit 82d7c37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playground/src/ui-system.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export const app = new Frog({
<VStack gap="4" grow>
<Heading>{'<Spacer>'}</Heading>
<Text color="text200" size="18">
Space betwen elements
Space between elements
</Text>
<Spacer size="16" />
<Box backgroundColor="background200" grow padding="16">
Expand Down
2 changes: 1 addition & 1 deletion src/frog-base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ export class FrogBase<

if (response.status !== 'success')
throw new Error(
`Unexepcted Error: Image response must always have value 'success'.`,
`Unexpected Error: Image response must always have value 'success'.`,
)

const defaultImageOptions = await (async () => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/utils/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export async function handlePostRedirect(button: {
})
.then((response) => response.json())

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

const id = json.id
store.setState((state) => {
Expand Down

0 comments on commit 82d7c37

Please sign in to comment.