Skip to content

Commit

Permalink
Fixed Typo in multiple files (#538)
Browse files Browse the repository at this point in the history
* Update store.js

* typos
  • Loading branch information
nallave authored Nov 25, 2024
1 parent b94b035 commit 0e7b0d5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demos/palm/web/quick-prompt/src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const useStore = create((set, get) => ({

actions.playSound('sounds/forbidden-word.mp3')

// Sort matches by their indicies in the passed `text` so the words in `forbiddenPopup` appear in the correct order
// Sort matches by their indices in the passed `text` so the words in `forbiddenPopup` appear in the correct order
matches.sort((a, b) => {
const aIndex = text.indexOf(a)
const bIndex = text.indexOf(b)
Expand Down
2 changes: 1 addition & 1 deletion demos/palm/web/talking-character/src/apis/textToSpeech.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ const useTextToSpeech =

const convert =
async (text: string) => {
// console.log('Lamda response: ', text);
// console.log('Lambda response: ', text);
// Use default voice for demo
const voice = getDefaultAvatarVoice();
if (!text || !voice?.cloudTtsVoice && !voice?.winslow) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class GraphRunner {
* format).
*
* Consumers must deserialize the binary representation themselves as this
* avoids addding a direct dependency on the Protobuf JSPB target in the graph
* avoids adding a direct dependency on the Protobuf JSPB target in the graph
* library.
*/
getCalculatorGraphConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ const OutputCard = ({output}: {output: IMacroOutput}) => {
selected={viewAll}
onClick={e => {
if (cardHeight === 'auto') {
// Change it back from auto befor animating
// Change it back from auto before animating
setCardHeight(`${cardSizerRef.current?.offsetHeight}px`)
}
setViewAll(e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

:global(.masonryGrid) {
display: flex;
margin-left: -13px; // Gutter size offest
margin-left: -13px; // Gutter size offset
width: auto;
}

Expand Down

0 comments on commit 0e7b0d5

Please sign in to comment.