From b9f942873750c7eb58af8322c54164b5e7525bf2 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sun, 22 Sep 2024 23:55:19 +0200 Subject: [PATCH] Import index from main demo.tsx instead of DemoApp. --- demo/DemoApp.tsx | 1 - demo/demo.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/DemoApp.tsx b/demo/DemoApp.tsx index e02d088..7c54206 100644 --- a/demo/DemoApp.tsx +++ b/demo/DemoApp.tsx @@ -1,5 +1,4 @@ import React, {useState} from "react"; -import "../index"; import {Checkbox} from "../src/Components/Forms/Checkbox"; import {Radio} from "../src/Components/Forms/Radio"; import {AirTrafficControl, Basket, FloppyDisk, House, TrashSimple, XCircle} from "@phosphor-icons/react"; diff --git a/demo/demo.tsx b/demo/demo.tsx index 197d6c5..70aa3e9 100644 --- a/demo/demo.tsx +++ b/demo/demo.tsx @@ -1,3 +1,4 @@ +import "../index"; import React from "react"; import {createRoot} from "react-dom/client"; import {DemoApp} from "./DemoApp";