mirror of
https://github.com/OSMA-D/osma-app.git
synced 2024-11-05 21:24:04 +03:00
refactor: delete unused
This commit is contained in:
parent
0a1f979891
commit
4262dc7331
3 changed files with 2 additions and 3 deletions
|
@ -17,7 +17,7 @@ function App() {
|
|||
};
|
||||
|
||||
let changeLng = async (lang) => {
|
||||
let lng = await invoke("change_lng", { lng: lang });
|
||||
await invoke("change_lng", { lng: lang });
|
||||
i18n.changeLanguage(lang);
|
||||
};
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { useNavigate } from "react-router-dom";
|
||||
import { invoke } from "@tauri-apps/api/tauri";
|
||||
import { useEffect } from "react";
|
||||
import { Button } from "../components/button";
|
||||
import React, { useState } from "react";
|
||||
import React from "react";
|
||||
|
||||
function CheckAuth() {
|
||||
const navigate = useNavigate();
|
||||
|
|
Loading…
Reference in a new issue