Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
  • Loading branch information
wangjingcun authored and LianaHus committed Nov 27, 2024
1 parent 58e82ef commit a999116
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/remix-dapp/src/components/ContractGUI/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function ContractGUI(props: any) {
setTitle(props.funcABI.type === 'receive' ? '(receive)' : '(fallback)');
}
setBasicInput('');
// we have the reset the fields before reseting the previous references.
// we have the reset the fields before resetting the previous references.
if (basicInputRef.current) basicInputRef.current.value = '';
multiFields.current
.filter((el) => el !== null && el !== undefined)
Expand Down
2 changes: 1 addition & 1 deletion apps/remix-dapp/src/components/UiTerminal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const RemixUiTerminal = (props: any) => {
const messagesEndRef = useRef<any>(null);
const typeWriterIndexes = useRef<any>([]);

// terminal dragable
// terminal draggable
const panelRef = useRef(null);
const terminalMenu = useRef(null);

Expand Down
2 changes: 1 addition & 1 deletion apps/remix-dapp/src/utils/txRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function tryTillReceiptAvailable(txhash: Bytes) {
if (!receipt.to && !receipt.contractAddress) {
// this is a contract creation and the receipt doesn't contain a contract address. we have to keep polling...
console.log(
'this is a contract creation and the receipt does nott contain a contract address. we have to keep polling...'
'this is a contract creation and the receipt does not contain a contract address. we have to keep polling...'
);
return receipt;
} else return receipt;
Expand Down
4 changes: 2 additions & 2 deletions libs/remix-ui/git/src/lib/gitactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const commit = async (message: string = "") => {

sendToGitLog({
type: 'success',
message: `Commited: ${sha}`
message: `Committed: ${sha}`
})

} catch (err) {
Expand Down Expand Up @@ -577,7 +577,7 @@ export const saveGitHubCredentials = async (credentials: { username: string, ema
await plugin.call('notification', 'alert', {
title: 'Error',
id: 'github-credentials-error',
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.`
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.`
})
}
dispatch(setGitHubUser({
Expand Down
2 changes: 1 addition & 1 deletion libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
console.log('expand ----> ', key)
}
// The expanded widged should go to the grid-segment and be updated based on the expandedItem state variable of the plugin.
// The expanded widget should go to the grid-segment and be updated based on the expandedItem state variable of the plugin.
// The state var will work like theme dispattching is working.
useEffect(() => {
Expand Down

0 comments on commit a999116

Please sign in to comment.