Archived
fix: cleanup
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { useTranslation } from "react-i18n-lite";
|
||||
|
||||
interface ReaderLoadingScreenProps {
|
||||
showMessage?: boolean;
|
||||
}
|
||||
|
||||
export function ReaderLoadingScreen({ showMessage = true }: ReaderLoadingScreenProps) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="reader-loading">
|
||||
<div className="spinner" />
|
||||
{showMessage && <p>{t("reader.loading")}</p>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user