mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove resource public id (#1912)
* chore: remove resource public id * chore: update
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
import { Button, Input } from "@mui/joy";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { toast } from "react-hot-toast";
|
||||
import { useGlobalStore } from "@/store/module";
|
||||
import * as api from "@/helpers/api";
|
||||
import { generateDialog } from "./Dialog";
|
||||
import Icon from "./Icon";
|
||||
import HelpButton from "./kit/HelpButton";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import LearnMore from "./LearnMore";
|
||||
|
||||
interface Props extends DialogProps {
|
||||
localStoragePath?: string;
|
||||
@ -51,8 +51,8 @@ const UpdateLocalStorageDialog: React.FC<Props> = (props: Props) => {
|
||||
<div className="dialog-content-container max-w-xs">
|
||||
<p className="text-sm break-words mb-1">{t("setting.storage-section.update-local-path-description")}</p>
|
||||
<div className="flex flex-row">
|
||||
<p className="text-sm text-gray-400 mb-2 break-all">e.g. {"assets/{publicid}"}</p>
|
||||
<HelpButton hint={t("common.learn-more")} url="https://usememos.com/docs/local-storage" />
|
||||
<p className="text-sm text-gray-400 mb-2 break-all">e.g. {"assets/{filename}"}</p>
|
||||
<LearnMore url="https://usememos.com/docs/local-storage" />
|
||||
</div>
|
||||
<Input
|
||||
className="mb-2"
|
||||
|
Reference in New Issue
Block a user