diff --git a/src/pages/profiles.tsx b/src/pages/profiles.tsx
deleted file mode 100644
index 067833e..0000000
--- a/src/pages/profiles.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-import { useState } from "react";
-import { invoke } from "@tauri-apps/api";
-import { Button, Grid, TextField } from "@mui/material";
-
-const ProfilesPage = () => {
- const [url, setUrl] = useState("");
-
- const onClick = async () => {
- if (!url) return;
- const data = await invoke("get_config_data", { url });
- console.log(data);
- };
-
- return (
-
-
-
- setUrl(e.target.value)}
- />
-
-
-
-
-
-
- );
-};
-
-export default ProfilesPage;
diff --git a/src/pages/rules.tsx b/src/pages/rules.tsx
index f0dd86b..6d60467 100644
--- a/src/pages/rules.tsx
+++ b/src/pages/rules.tsx
@@ -1,11 +1,42 @@
-import { Box, Typography } from "@mui/material";
+import { useState } from "react";
+import { invoke } from "@tauri-apps/api";
+import { Box, Button, Grid, TextField, Typography } from "@mui/material";
const RulesPage = () => {
+ const [url, setUrl] = useState("");
+
+ const onClick = async () => {
+ if (!url) return;
+ const data = await invoke("cmd_import_profile", { url });
+ console.log(data);
+ };
+
return (
Rules
+
+
+
+ setUrl(e.target.value)}
+ />
+
+
+
+
+
);
};