fix shit
This commit is contained in:
@@ -20,6 +20,7 @@ function Info(args) {
|
||||
} = args;
|
||||
|
||||
function CrypVar() {
|
||||
if (!info) return false;
|
||||
const [type, value] = info;
|
||||
if (!type) return false;
|
||||
|
||||
@@ -42,6 +43,10 @@ function Info(args) {
|
||||
} else if (COLOURS[value]) {
|
||||
itemDetails = COLOURS[value];
|
||||
}
|
||||
|
||||
if (!itemDetails) {
|
||||
return console.warn('UNHANLDED VAR', value);
|
||||
}
|
||||
return (
|
||||
<div className="info-var">
|
||||
{value} - {itemDetails.description}
|
||||
|
||||
Reference in New Issue
Block a user