Fix TS2503: replace JSX.Element with ReactElement in DataSovereignty

Added missing ReactElement import from react and replaced the JSX
namespace reference to resolve the TypeScript error introduced when
the component was written without a React import.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
MBO-Tech-IT 2026-04-02 01:34:06 +02:00
parent 0c469131fe
commit 737a0f1f77
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import type { ReactElement } from "react";
const risks = [
{
title: "US Cloud Act (2018)",
@ -42,7 +44,7 @@ const solutions = [
},
];
const icons: Record<string, JSX.Element> = {
const icons: Record<string, ReactElement> = {
shield: (
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />