[faucet] polish code and UX - Move Twitter login component into FOSS

This commit is contained in:
nymkappa
2024-05-17 20:32:43 +02:00
parent 0279fe69d4
commit 6b16b2d651
8 changed files with 158 additions and 124 deletions

View File

@@ -22,6 +22,9 @@ const MempoolErrors = {
'waitlisted': `You are currently on the wait list. You will get notified once you are granted access.`,
'not_whitelisted_by_any_pool': `You are not whitelisted by any mining pool`,
'unauthorized': `You are not authorized to do this`,
'faucet_too_soon': `You cannot request any more coins right now. Try again later.`,
'faucet_not_available': `The faucet is not available right now. Try again later.`,
'faucet_maximum_reached': `You are not allowed to request more coins`,
} as { [error: string]: string };
export function isMempoolError(error: string) {