IT crowd jokes
diff --git a/Components/Header.js b/Components/Header.js
index da6ec92..37418c5 100644
--- a/Components/Header.js
+++ b/Components/Header.js
@@ -135,7 +135,8 @@
className={Styles.button}
style={{ backgroundColor: `#${button.color}`, color: `#${button.buttonText}` }}
href={button.link}
- onClick={() => { if (button.id) { props.callback(button.id) } }}
+ onClick={
+ button.onClick ? button.onClick : () => { if (button.id) { props.callback(button.id) } }}
target={button.target ? "_blank" : null}
draggable={false}
rel="noreferrer">