Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console log hello world in chat.tsx #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

colin-codegen[bot]
Copy link
Contributor

@colin-codegen colin-codegen bot commented Aug 15, 2023

The approach to completing this tasks involves opening the 'src/components/Chat/Chat.tsx' file and adding a bit of code into the 'Chat' function. Declare a new variable near the start of the 'Chat' function, which will serve as the message to be logged. Afterwards, log this variable. The code modification would look like this:

export default function Chat() {
  const userId = useAtomValue(chatUserIdAtom);
  const logMessage: string = "Hello, World!";
  console.log(logMessage);
  ...
}

@cfortuner
Copy link
Contributor

please log from 0-100 instead

1 similar comment
@cfortuner
Copy link
Contributor

please log from 0-100 instead

@colin-codegen
Copy link
Contributor Author

colin-codegen bot commented Aug 17, 2023

Noted your feedback. I have initiated a change to the implementation to log numbers from 0 to 100 instead. I'll let you know once the changes are in the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant