diff --git a/components/bank/everything.js b/components/bank/everything.js
index 74fc1682..603183bd 100644
--- a/components/bank/everything.js
+++ b/components/bank/everything.js
@@ -184,8 +184,8 @@ function Percentage({ fee }) {
alignItems: 'center',
bg: 'slate',
color: 'green',
- width: [fee.length == 1 ? 70 : 80, fee.length == 1 ? 128 : 138],
- height: [fee.length == 1 ? 70 : 80, fee.length == 1 ? 128 : 138],
+ width: [fee.length === 1 ? 70 : 80, fee.length === 1 ? 128 : 138],
+ height: [fee.length === 1 ? 70 : 80, fee.length === 1 ? 128 : 138],
borderRadius: 'circle',
fontWeight: 'bold',
justifyContent: 'center',
@@ -195,8 +195,8 @@ function Percentage({ fee }) {
content: '"%"',
fontSize: [24, 40],
fontWeight: 'normal',
- marginRight: fee.length == 1 ? -2 : 0,
- marginLeft: [null, fee.length == 1 ? 2 : 0],
+ marginRight: fee.length === 1 ? -2 : 0,
+ marginLeft: [null, fee.length === 1 ? 2 : 0],
color: 'muted'
}
}}
diff --git a/components/bio.js b/components/bio.js
index 876342f4..2f5f5d6e 100644
--- a/components/bio.js
+++ b/components/bio.js
@@ -97,12 +97,12 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
)}
- {popup == false && (
+ {!popup && (
{text}
)}
- {popup == false && href && (
+ {!popup && href && (
- {popup == true && expand && (
+ {popup && expand && (
<>
- {position == 'bottom' ? (
+ {position === 'bottom' ? (
{
if (!timeLeft[e]) {
- if (e == 'days') {
+ if (e === 'days') {
return
- } else if (e == 'hours') {
+ } else if (e === 'hours') {
if (!timeLeft['days']) {
return
}
- } else if (e == 'min') {
+ } else if (e === 'min') {
if (!timeLeft['days'] && !timeLeft['hours']) {
return
}
@@ -62,19 +62,19 @@ export default function Epoch() {
var name = ''
- if (e == 'days') {
- if (timeLeft[e] == 1 || timeLeft[e] == 0) {
+ if (e === 'days') {
+ if (timeLeft[e] === 1 || timeLeft[e] === 0) {
name = 'day'
} else {
name = 'days'
}
- } else if (e == 'hours') {
- if (timeLeft[e] == 1 || timeLeft[e] == 0) {
+ } else if (e === 'hours') {
+ if (timeLeft[e] === 1 || timeLeft[e] === 0) {
name = 'hour'
} else {
name = 'hours'
}
- } else if (e == 'min') {
+ } else if (e === 'min') {
name = 'min'
} else {
name = 'sec'
diff --git a/components/index/github.js b/components/index/github.js
index a10dc76f..6e7f81e8 100644
--- a/components/index/github.js
+++ b/components/index/github.js
@@ -50,8 +50,8 @@ export default function GitHub({
rel="noopener"
>
{user != null ? (
- user != 'dependabot[bot]' ? (
- user != 'github-actions[bot]' ? (
+ user !== 'dependabot[bot]' ? (
+ user !== 'github-actions[bot]' ? (
>
)}
{user != null ? (
- user != 'dependabot[bot]' ? (
- user != 'github-actions[bot]' ? (
+ user !== 'dependabot[bot]' ? (
+ user !== 'github-actions[bot]' ? (
>
)}
{user != null ? (
- user != 'dependabot[bot]' ? (
- user != 'github-actions[bot]' ? (
+ user !== 'dependabot[bot]' ? (
+ user !== 'github-actions[bot]' ? (
>
)}
{user != null ? (
- user != 'dependabot[bot]' ? (
- user != 'github-actions[bot]' ? (
+ user !== 'dependabot[bot]' ? (
+ user !== 'github-actions[bot]' ? (
{
: { reason: router.query.reason }
})
- const isAdult = useField('educationLevel').value == 'tertiary'
- const useWaitlist = process.env.NEXT_PUBLIC_OPEN != 'true'
+ const isAdult = useField('educationLevel').value === 'tertiary'
+ const useWaitlist = process.env.NEXT_PUBLIC_OPEN !== 'true'
return (
@@ -41,7 +41,7 @@ const JoinForm = ({ sx = {} }) => {