mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +00:00
feat: adding logger
This commit is contained in:
parent
eebd09ccf2
commit
790f7a2549
1 changed files with 1 additions and 4 deletions
|
@ -1,9 +1,8 @@
|
||||||
import { Button, Modal, ModalProps, TextField } from "@renderer/components";
|
import { Modal, ModalProps, TextField } from "@renderer/components";
|
||||||
import { useContext, useMemo } from "react";
|
import { useContext, useMemo } from "react";
|
||||||
import { cloudSyncContext } from "@renderer/context";
|
import { cloudSyncContext } from "@renderer/context";
|
||||||
|
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { CheckCircleFillIcon } from "@primer/octicons-react";
|
|
||||||
|
|
||||||
export interface CloudSyncFilesModalProps
|
export interface CloudSyncFilesModalProps
|
||||||
extends Omit<ModalProps, "children" | "title"> {}
|
extends Omit<ModalProps, "children" | "title"> {}
|
||||||
|
@ -12,8 +11,6 @@ export function CloudSyncFilesModal({
|
||||||
visible,
|
visible,
|
||||||
onClose,
|
onClose,
|
||||||
}: CloudSyncFilesModalProps) {
|
}: CloudSyncFilesModalProps) {
|
||||||
const { t } = useTranslation("game_details");
|
|
||||||
|
|
||||||
const { backupPreview } = useContext(cloudSyncContext);
|
const { backupPreview } = useContext(cloudSyncContext);
|
||||||
|
|
||||||
const files = useMemo(() => {
|
const files = useMemo(() => {
|
||||||
|
|
Loading…
Reference in a new issue