Skip to content

Commit a999116

Browse files
wangjingcunLianaHus
authored andcommitted
chore: fix some comments
Signed-off-by: wangjingcun <[email protected]>
1 parent 58e82ef commit a999116

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Diff for: apps/remix-dapp/src/components/ContractGUI/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function ContractGUI(props: any) {
2626
setTitle(props.funcABI.type === 'receive' ? '(receive)' : '(fallback)');
2727
}
2828
setBasicInput('');
29-
// we have the reset the fields before reseting the previous references.
29+
// we have the reset the fields before resetting the previous references.
3030
if (basicInputRef.current) basicInputRef.current.value = '';
3131
multiFields.current
3232
.filter((el) => el !== null && el !== undefined)

Diff for: apps/remix-dapp/src/components/UiTerminal/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const RemixUiTerminal = (props: any) => {
2626
const messagesEndRef = useRef<any>(null);
2727
const typeWriterIndexes = useRef<any>([]);
2828

29-
// terminal dragable
29+
// terminal draggable
3030
const panelRef = useRef(null);
3131
const terminalMenu = useRef(null);
3232

Diff for: apps/remix-dapp/src/utils/txRunner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function tryTillReceiptAvailable(txhash: Bytes) {
3939
if (!receipt.to && !receipt.contractAddress) {
4040
// this is a contract creation and the receipt doesn't contain a contract address. we have to keep polling...
4141
console.log(
42-
'this is a contract creation and the receipt does nott contain a contract address. we have to keep polling...'
42+
'this is a contract creation and the receipt does not contain a contract address. we have to keep polling...'
4343
);
4444
return receipt;
4545
} else return receipt;

Diff for: libs/remix-ui/git/src/lib/gitactions.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export const commit = async (message: string = "") => {
201201

202202
sendToGitLog({
203203
type: 'success',
204-
message: `Commited: ${sha}`
204+
message: `Committed: ${sha}`
205205
})
206206

207207
} catch (err) {
@@ -577,7 +577,7 @@ export const saveGitHubCredentials = async (credentials: { username: string, ema
577577
await plugin.call('notification', 'alert', {
578578
title: 'Error',
579579
id: 'github-credentials-error',
580-
message: `Could not retreive the user from GitHub. You can continue to use the app, but you will not be able to push or pull.`
580+
message: `Could not retrieve the user from GitHub. You can continue to use the app, but you will not be able to push or pull.`
581581
})
582582
}
583583
dispatch(setGitHubUser({

Diff for: libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
5959
console.log('expand ----> ', key)
6060
}
6161
62-
// The expanded widged should go to the grid-segment and be updated based on the expandedItem state variable of the plugin.
62+
// The expanded widget should go to the grid-segment and be updated based on the expandedItem state variable of the plugin.
6363
// The state var will work like theme dispattching is working.
6464
6565
useEffect(() => {

0 commit comments

Comments
 (0)