Remove version code field
Removes the version code field from the app.
This commit is contained in:
@@ -32,7 +32,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
// 편집 가능한 필드를 위한 상태
|
||||
const [editableVersionName, setEditableVersionName] = useState('1.0.0');
|
||||
const [editableBuildNumber, setEditableBuildNumber] = useState('1');
|
||||
const [editableVersionCode, setEditableVersionCode] = useState('1');
|
||||
|
||||
// 버전 정보 가져오기
|
||||
const fetchVersionInfo = useCallback(async () => {
|
||||
@@ -66,9 +65,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
// 편집 가능한 필드도 업데이트
|
||||
setEditableVersionName(info.versionName);
|
||||
setEditableBuildNumber(String(info.buildNumber));
|
||||
if (info.versionCode) {
|
||||
setEditableVersionCode(String(info.versionCode));
|
||||
}
|
||||
|
||||
setLoading(false);
|
||||
console.log('앱 버전 정보 표시 준비 완료');
|
||||
@@ -141,19 +137,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
|
||||
/>
|
||||
</div>
|
||||
|
||||
{showDevInfo && (
|
||||
<div>
|
||||
<Label htmlFor="versionCode">버전 코드</Label>
|
||||
<Input
|
||||
id="versionCode"
|
||||
value={editableVersionCode}
|
||||
onChange={(e) => setEditableVersionCode(e.target.value)}
|
||||
placeholder="버전 코드 (예: 1)"
|
||||
type="number"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div>
|
||||
<Label htmlFor="notes">메모</Label>
|
||||
<Textarea
|
||||
|
||||
Reference in New Issue
Block a user