tweak: Small reorganizing

This commit is contained in:
NunoSempere 2021-11-25 11:09:17 +00:00
parent 639e7e793b
commit c1ae86b100
6 changed files with 9 additions and 3 deletions

View File

@ -6,6 +6,8 @@ The core structure is json array of objects. Only the "name" attribute is requir
The `isReferenceValue` property determines the display at the end, but it is optional.
So internally this would look like:
```
[
{

3
data/test.js Normal file
View File

@ -0,0 +1,3 @@
import listOfElements from 'listOfMoralGoods.js'
console.log(listOfElements)

View File

@ -1,5 +1,5 @@
/* Definitions */
const elementsDocument = 'listOfMoralGoods.json'
const elementsDocument = '../data/listOfMoralGoods.json'
const domain = 250
/* Imports */

View File

@ -5,9 +5,10 @@
*/
/* Definitions */
const elementsDocument = 'listOfResearchOutputs.json'
const elementsDocument = '../data/listOfResearchOutputs.json'
const domain = 10**7
/* Imports */
import Head from 'next/head'
import React, { useState } from "react";