From 25020c2d5bda1881b14019fcda421f28fc773854 Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Wed, 17 Apr 2024 15:16:57 +0200 Subject: [PATCH] Remove unused function "renderInput" Seems to be obsolete since react-admin v4. Change-Id: I9f1d528a43510efd61befd23a05d1c8ebf40ddfd --- src/components/LoginPage.jsx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/components/LoginPage.jsx b/src/components/LoginPage.jsx index aa1cd03..b177efa 100644 --- a/src/components/LoginPage.jsx +++ b/src/components/LoginPage.jsx @@ -21,7 +21,6 @@ import { CircularProgress, MenuItem, Select, - TextField, Typography, } from "@mui/material"; import { styled } from "@mui/material/styles"; @@ -127,20 +126,6 @@ const LoginPage = () => { } } - const renderInput = ({ - meta: { touched, error } = {}, - input: { ...inputProps }, - ...props - }) => ( - - ); - const validateBaseUrl = value => { if (!value.match(/^(http|https):\/\//)) { return translate("synapseadmin.auth.protocol_error"); @@ -219,7 +204,6 @@ const LoginPage = () => { { {