refactors, dynamic constants (lol)

This commit is contained in:
mrfry 2023-03-29 19:12:41 +02:00
parent 755891710a
commit d4553896af
25 changed files with 323 additions and 312 deletions

View file

@ -3,7 +3,7 @@ import React, { useState, useEffect } from 'react'
import Header from '../components/header'
import styles from './validation.module.css'
import constants from '../constants.json'
import constants from '../constants'
function fetchValidation() {
return new Promise((resolve) => {
@ -37,8 +37,7 @@ export default function Validation() {
<center>
<div className={styles.descrip}>
Különböző okokból kellhet, hogy bizonyítsd hogy az oldalhoz van
hozzáférésed. Ebben az esetben ezzel a tokennel tudod: TODO: normális
duma
hozzáférésed. Ebben az esetben ezzel a tokennel tudod:
</div>
{token && <div className={styles.tokenContainer}>{token}</div>}
</center>