Skip to content

Commit 29339d2

Browse files
committed
fix typings and change title of intro card.
1 parent aa194cf commit 29339d2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export default function App() {
4040
const loadJsonFiles = async () => {
4141
const forms = {} as { [key: string]: RJSFSchema[] };
4242

43-
const dataEntries = await Promise.all(
43+
const dataEntries: [string, RJSFSchema][] = await Promise.all(
4444
Object.entries(jsonFiles).map(async ([path, importFile]) => {
4545
const module = await importFile();
46-
return [path, module.default]; // Return file path and content
46+
return [path, (module as { default: RJSFSchema }).default]; // Return file path and content
4747
})
4848
);
4949

src/i18n/en/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cardTitle": "Identification of AI systems and impactful algorithms",
2+
"cardTitle": "AI act questionnaires",
33
"description1": "With a maximum of 7 questions, you can already make a well-founded assessment of whether a data-driven application qualifies as an AI system or a significant algorithm. Fill out the dynamic questionnaire.",
44
"description2": "This open-source template is tailored to requirements from the AI regulation and Dutch soft law frameworks, such as:",
55
"framework1_text": "Algorithm Framework",

src/i18n/nl/translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cardTitle": "Identificatie van AI-systemen en impactvolle algoritmes",
2+
"cardTitle": "AI-act vragenlijsten",
33
"description1": "Aan de hand van maximaal 7 vragen kun je al een gedegen inschatting maken of een datagedreven toepassing een AI-systeem of impactvol algoritme betreft. Vul de dynamische vragenlijst in.",
44
"description2": "Dit open-source templates is afgestemd op eisen uit de AI-verordening en Nederlandse soft law kaders, zoals:",
55
"framework1_text": "Onderzoekskader Algoritmes",

0 commit comments

Comments
 (0)