From f7c6f6603b9a46a8ddbce43c1219d0b0d270ed42 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 9 Jan 2018 16:20:18 +0100 Subject: [PATCH] Renamed style variable to match the imported stylesheet. --- client/app/components/admin/AdminRequestInfo.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/app/components/admin/AdminRequestInfo.jsx b/client/app/components/admin/AdminRequestInfo.jsx index c483fc3..a67e7e1 100644 --- a/client/app/components/admin/AdminRequestInfo.jsx +++ b/client/app/components/admin/AdminRequestInfo.jsx @@ -3,15 +3,13 @@ import React, { Component } from 'react'; import { fetchJSON } from '../http.jsx'; import PirateSearch from './PirateSearch.jsx' +// No in use! import InfoButton from '../buttons/InfoButton.jsx'; // Stylesheets import requestInfoCSS from '../styles/adminRequestInfo.jsx' import buttonsCSS from '../styles/buttons.jsx'; -// Interactive button -import Interactive from 'react-interactive'; - String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.slice(1); @@ -175,7 +173,7 @@ class AdminRequestInfo extends Component {
{request.name} {request.year} - {this.generateTypeIcon(request.type)} + {this.generateTypeIcon(request.type)} {/*{request.type.capitalize()}
*/}