Hi @Manish Adhikari sorry to hear you're facing this issue.
The warning message you are seeing means that the "messageremove" icon is being used in your chat UI, but it has not been registered with the Fluent UI icon library. To fix this warning message, you need to register the "messageremove" icon with the Fluent UI icon library.
- Import the
registerIcons
function from the@fluentui/react/lib/Styling
module:
import { registerIcons } from '@fluentui/react/lib/Styling';
- Call the
registerIcons
function to register the "messageremove" icon:
registerIcons({
icons: {
messageremove: <i className="ms-Icon ms-Icon--MessageRemove" />,
},
});
- Add the
disableWarnings
option to theinitializeIcons
function:
initializeIcons(undefined, { disableWarnings: true });
Hope that helps
-Grace