renamed tachi instances to Kamaitachi
This commit is contained in:
@ -4,10 +4,9 @@ import { Button } from "@/components/ui/button";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { useToast } from "@/components/ui/use-toast";
|
||||
|
||||
// Server action imported from server-side code
|
||||
import { getTachiExport } from "./action";
|
||||
|
||||
const TachiExport = () => {
|
||||
const Kamaitachi = () => {
|
||||
const { toast } = useToast();
|
||||
|
||||
const handleExport = async () => {
|
||||
@ -21,7 +20,7 @@ const TachiExport = () => {
|
||||
const url = URL.createObjectURL(exportedFile);
|
||||
const kamafile = document.createElement("a");
|
||||
kamafile.href = url;
|
||||
kamafile.download = "tachi_export.json";
|
||||
kamafile.download = "kamaitachi.json";
|
||||
document.body.appendChild(kamafile);
|
||||
kamafile.click();
|
||||
document.body.removeChild(kamafile);
|
||||
@ -59,4 +58,4 @@ const TachiExport = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export { TachiExport };
|
||||
export { Kamaitachi };
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { TachiExport } from "./kamaitachiexport";
|
||||
import { Kamaitachi } from "./kamaitachiexport";
|
||||
|
||||
const SecuritySettingsPage = async () => {
|
||||
return (
|
||||
<div>
|
||||
<TachiExport />
|
||||
<Kamaitachi />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user