aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/DriverValue.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/components/DriverValue.js')
-rw-r--r--modern/src/common/components/DriverValue.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/modern/src/common/components/DriverValue.js b/modern/src/common/components/DriverValue.js
deleted file mode 100644
index 6148b418..00000000
--- a/modern/src/common/components/DriverValue.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { useSelector } from 'react-redux';
-
-const DriverValue = ({ driverUniqueId }) => {
- const driver = useSelector((state) => state.drivers.items[driverUniqueId]);
-
- return driver?.name || driverUniqueId;
-};
-
-export default DriverValue;