From a026d6d2509255e42b9543fdeab0d1472bcda360 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 19 Sep 2024 10:15:05 -0700 Subject: [PATCH] Update relocated JS logs message (#46558) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46558 Changelog: [Internal] Reviewed By: vzaidman Differential Revision: D62937482 fbshipit-source-id: 323d4220443e2660ff2f0cb8c019477ee245a07d --- packages/react-native/Libraries/Utilities/HMRClient.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/react-native/Libraries/Utilities/HMRClient.js b/packages/react-native/Libraries/Utilities/HMRClient.js index bed704f269c..c7832f7bb46 100644 --- a/packages/react-native/Libraries/Utilities/HMRClient.js +++ b/packages/react-native/Libraries/Utilities/HMRClient.js @@ -153,11 +153,11 @@ const HMRClient: HMRClientNativeInterface = { level: 'info', data: [ '\n' + - '\x1b[7m' + - ' \x1b[1mJavaScript logs have moved!\x1b[22m They will now appear in the debugger console. ' + - 'Tip: Type \x1b[1mj\x1b[22m in the terminal to open the debugger (requires Google Chrome ' + - 'or Microsoft Edge).' + - '\x1b[27m' + + '\u001B[7m' + + ' \u001B[1m💡 JavaScript logs have moved!\u001B[22m They can now be ' + + 'viewed in React Native DevTools. Tip: Type \u001B[1mj\u001B[22m in ' + + 'the terminal to open (requires Google Chrome or Microsoft Edge).' + + '\u001B[27m' + '\n', ], }),