Skip to content

Commit c76f91f

Browse files
authored
Fix Typos in Documentation and Code (#521)
1 parent 5f3c6c2 commit c76f91f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ From the root directory:
4242

4343
If linting errors or warnings occur, run `yarn lint --fix` to attempt to auto-fix issues. If there are remaining issues that cannot be auto-fixed, manually address them and re-run the command to ensure it passes.
4444

45-
### Running formater
45+
### Running formatter
4646
From the root directory:
4747
- ```yarn format:{check|write}```
4848

packages/ui/src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ interface IncompatibleSelection {
5858
* @param requestedVersion The requested version
5959
* @returns A compatible selection with the app type, or an incompatible selection with the compatible semver range
6060
*/
61-
function evalutateSelection(
61+
function evaluateSelection(
6262
lang: string | undefined,
6363
requestedVersion: string | undefined,
6464
): CompatibleSelection | IncompatibleSelection {
@@ -101,7 +101,7 @@ function evalutateSelection(
101101
}
102102

103103
let app;
104-
const selection = evalutateSelection(lang, requestedVersion);
104+
const selection = evaluateSelection(lang, requestedVersion);
105105

106106
if (!selection.compatible) {
107107
if (requestedVersion === undefined) {

packages/ui/src/solidity/App.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@
132132
});
133133
}
134134
135-
$: showButtons = getButtonVisiblities(opts);
135+
$: showButtons = getButtonVisibilities(opts);
136136
137137
interface ButtonVisibilities {
138138
openInRemix: boolean;
139139
downloadHardhat: boolean;
140140
downloadFoundry: boolean;
141141
}
142142
143-
const getButtonVisiblities = (opts?: KindedOptions[Kind]): ButtonVisibilities => {
143+
const getButtonVisibilities = (opts?: KindedOptions[Kind]): ButtonVisibilities => {
144144
if (opts?.kind === 'Governor') {
145145
return {
146146
openInRemix: true,

0 commit comments

Comments
 (0)