chore: fix some comments

Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
pull/5433/head v0.57.1
wangjingcun 2 months ago committed by Liana Husikyan
parent 58e82efc24
commit a999116bdb
  1. 2
      apps/remix-dapp/src/components/ContractGUI/index.tsx
  2. 2
      apps/remix-dapp/src/components/UiTerminal/index.tsx
  3. 2
      apps/remix-dapp/src/utils/txRunner.ts
  4. 4
      libs/remix-ui/git/src/lib/gitactions.ts
  5. 2
      libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx

@ -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)

@ -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);

@ -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;

@ -201,7 +201,7 @@ export const commit = async (message: string = "") => {
sendToGitLog({
type: 'success',
message: `Commited: ${sha}`
message: `Committed: ${sha}`
})
} catch (err) {
@ -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({

@ -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(() => {

Loading…
Cancel
Save