From 910f9accf334989ca82a6a238fbd8e804b00972f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Tue, 7 May 2024 12:06:53 +0100 Subject: [PATCH] fix: `EditorIcon` warning (#3111) --- editor.planx.uk/src/ui/icons/Editor.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/editor.planx.uk/src/ui/icons/Editor.tsx b/editor.planx.uk/src/ui/icons/Editor.tsx index 8239a23efd..b318f36a71 100644 --- a/editor.planx.uk/src/ui/icons/Editor.tsx +++ b/editor.planx.uk/src/ui/icons/Editor.tsx @@ -1,15 +1,17 @@ -import SvgIcon from "@mui/material/SvgIcon"; +import SvgIcon, { SvgIconProps } from "@mui/material/SvgIcon"; import * as React from "react"; -export default function EditorIcon() { +export default function EditorIcon(props: SvgIconProps) { return ( - - - - + + ); }