Remove app version information

Removes the app version information and description.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 13:38:10 +00:00
parent 321ad87d4f
commit 06cef28b9b

View File

@@ -24,10 +24,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
const [error, setError] = useState(false); const [error, setError] = useState(false);
const [retries, setRetries] = useState(0); const [retries, setRetries] = useState(0);
// 편집 가능한 필드를 위한 상태
const [editableVersionName, setEditableVersionName] = useState('1.0.1');
const [editableBuildNumber, setEditableBuildNumber] = useState('2');
// 버전 정보 가져오기 // 버전 정보 가져오기
const fetchVersionInfo = useCallback(async () => { const fetchVersionInfo = useCallback(async () => {
if (!editable) { if (!editable) {
@@ -54,9 +50,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
versionCode: info.versionCode versionCode: info.versionCode
}); });
// 편집 가능한 필드도 업데이트
setEditableVersionName(info.versionName);
setEditableBuildNumber(String(info.buildNumber));
setLoading(false); setLoading(false);
console.log('앱 버전 정보 표시 준비 완료'); console.log('앱 버전 정보 표시 준비 완료');
} catch (error) { } catch (error) {
@@ -105,18 +98,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
if (editable) { if (editable) {
return <div className={className}> return <div className={className}>
<div className="space-y-3"> <div className="space-y-3">
<div>
<Label htmlFor="versionName" className="text-gray-600 text-center block"> </Label>
<div className="p-2 text-base mt-1 py-0 text-center">
{editableVersionName} (build {editableBuildNumber})
</div>
</div>
<div>
<Label htmlFor="notes" className="text-gray-600 text-center block"> </Label>
<div className="p-2 text-base mt-1 py-0 text-center">The first build</div>
</div>
<div className="mt-[70px] text-center"> <div className="mt-[70px] text-center">
<p className="text-gray-400 font-semibold text-lg my-[50px]">ZELLYY CLOUD</p> <p className="text-gray-400 font-semibold text-lg my-[50px]">ZELLYY CLOUD</p>
</div> </div>
@@ -132,7 +113,6 @@ const AppVersionInfo: React.FC<AppVersionInfoProps> = ({
</button> </button>
</div> : <div className="py-1 text-center"> </div> : <div className="py-1 text-center">
<p className="text-sm">{versionInfo.versionName} (build {versionInfo.buildNumber})</p>
{showDevInfo && versionInfo.versionCode && <p className="text-xs text-gray-400 mt-1 font-mono">versionCode: {versionInfo.versionCode}</p>} {showDevInfo && versionInfo.versionCode && <p className="text-xs text-gray-400 mt-1 font-mono">versionCode: {versionInfo.versionCode}</p>}
</div>} </div>}
</div>; </div>;