Skip to content

Commit 18b335e

Browse files
authored
chore: fix some minor issues in the comments (#3682)
fix some minor issues in the comments <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Corrects error message punctuation in `BaseSnapExecutor` and fixes a doc comment typo in `Italic` component. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 84c6f78. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Signed-off-by: withtimezone <[email protected]>
1 parent 68a2b0c commit 18b335e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/snaps-execution-environments/src/common/BaseSnapExecutor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class BaseSnapExecutor {
174174

175175
assert(
176176
!required || handler !== undefined,
177-
`No ${handlerType} handler exported for snap "${target}`,
177+
`No ${handlerType} handler exported for snap "${target}".`,
178178
rpcErrors.methodNotSupported,
179179
);
180180

packages/snaps-sdk/src/jsx/components/formatting/Italic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type ItalicProps = {
2323
const TYPE = 'Italic';
2424

2525
/**
26-
* An italic component, which is used to display text in italic. This componen
26+
* An italic component, which is used to display text in italic. This component
2727
* can only be used as a child of the {@link Text} component.
2828
*
2929
* @param props - The props of the component.

0 commit comments

Comments
 (0)