mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-23 23:41:52 +08:00
style: react component prop readonly
This commit is contained in:
@@ -16,12 +16,12 @@ export function ShellResult({
|
||||
allPackResults,
|
||||
packMethod,
|
||||
generateResult,
|
||||
}: {
|
||||
}: Readonly<{
|
||||
packResult: string | undefined;
|
||||
allPackResults: Map<string, string> | undefined;
|
||||
packMethod: string;
|
||||
generateResult?: GenerateResult;
|
||||
}) {
|
||||
}>) {
|
||||
const { t } = useTranslation();
|
||||
if (!generateResult) {
|
||||
return <QuickUsage />;
|
||||
|
||||
Reference in New Issue
Block a user