mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
move readonly
This commit is contained in:
@@ -23,11 +23,11 @@ type Props = {
|
||||
};
|
||||
|
||||
type FileSizeProps = {
|
||||
readonly fileSize?: number;
|
||||
readonly wantInfoStyle: CSSProperties;
|
||||
fileSize?: number;
|
||||
wantInfoStyle: CSSProperties;
|
||||
};
|
||||
|
||||
function FileSizeText({ fileSize, wantInfoStyle }: FileSizeProps) {
|
||||
function FileSizeText({ fileSize, wantInfoStyle }: Readonly<FileSizeProps>) {
|
||||
|
||||
const verifyFileSize = fileSize !== undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user