Skip to content

Commit

Permalink
[ECO-2369] Remove frontend console errors (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
CRBl69 authored Nov 5, 2024
1 parent f07a5be commit a0ca536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const configurationData: DatafeedConfiguration = {
* @param props
* @returns
*/
export const Chart = async (props: ChartContainerProps) => {
export const Chart = (props: ChartContainerProps) => {
const tvWidget = useRef<IChartingLibraryWidget>();
const ref = useRef<HTMLDivElement>(null);
const router = useRouter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default function EmojiPicker(
}
}, []);

const { drag, ...propsRest } = props;
const { drag, filterEmojis, ...propsRest } = props;

return (
<Suspense fallback={<div>Loading...</div>}>
Expand All @@ -200,7 +200,7 @@ export default function EmojiPicker(
theme="dark"
perLine={8}
exceptEmojis={[]}
filterEmojis={props.filterEmojis}
filterEmojis={filterEmojis}
onEmojiSelect={(v: EmojiSelectorData) => {
const newEmoji = unifiedCodepointsToEmoji(v.unified as `${string}-${string}`);
insertEmojiTextInput([newEmoji]);
Expand Down

0 comments on commit a0ca536

Please sign in to comment.