From c9572d2db548d28469d3c984981037c32a98e1c3 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Fri, 8 Aug 2025 10:38:47 -0400 Subject: [PATCH] feature/IO-1113-Online-Dark-Mode - Remove unnecessary forward ref --- .../form-items-formatted/read-only-form-item.component.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/components/form-items-formatted/read-only-form-item.component.jsx b/client/src/components/form-items-formatted/read-only-form-item.component.jsx index 65333883a..786d6a1a0 100644 --- a/client/src/components/form-items-formatted/read-only-form-item.component.jsx +++ b/client/src/components/form-items-formatted/read-only-form-item.component.jsx @@ -1,5 +1,4 @@ import Dinero from "dinero.js"; -import { forwardRef } from "react"; import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; import { selectBodyshop } from "../../redux/user/user.selectors"; @@ -28,4 +27,4 @@ const ReadOnlyFormItem = ({ bodyshop, value, type = "text" }) => { } }; -export default connect(mapStateToProps, mapDispatchToProps)(forwardRef(ReadOnlyFormItem)); +export default connect(mapStateToProps, mapDispatchToProps)(ReadOnlyFormItem);