fix: build/test issue

This commit is contained in:
鲁树人
2025-05-17 06:09:00 +09:00
parent 13c669b4ea
commit 246ba48135
7 changed files with 29 additions and 30 deletions

View File

@@ -5,14 +5,14 @@ export function Footer() {
const appVersionShort = '__APP_VERSION_SHORT__';
return (
<footer className="flex flex-col text-center p-4 bg-base-200">
<p className="flex flex-row justify-center items-center h-[1em]">
<div className="flex flex-row justify-center items-center h-[1em]">
<a className="link link-info mr-1" href="https://git.unlock-music.dev/um/um-react">
</a>
(v{appVersionShort}
<SDKVersion />) -
</p>
<p>
</div>
<div>
{'© 2019 - '}
<CurrentYear />{' '}
<a className="link link-info" href="https://git.unlock-music.dev/um">
@@ -22,7 +22,7 @@ export function Footer() {
<a className="link link-info" href="https://git.unlock-music.dev/um/um-react/src/branch/main/LICENSE">
使 MIT
</a>
</p>
</div>
</footer>
);
}

View File

@@ -28,7 +28,9 @@ export function SDKVersion() {
<h3 className="font-bold text-lg"></h3>
<p>App: __APP_VERSION__</p>
<p>SDK: {sdkVersion}</p>
<p>
SDK: <span data-testid="sdk-version">{sdkVersion}</span>
</p>
</div>
<form method="dialog" className="modal-backdrop">
<button></button>