Set version beside the ALPHA tag

This commit is contained in:
Arnaud 2024-09-26 17:00:53 +02:00
parent 9ea74301a1
commit 7e6799f956
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
4 changed files with 5 additions and 11 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.7",
"version": "0.0.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@codex-storage/marketplace-ui-components",
"version": "0.0.7",
"version": "0.0.8",
"license": "MIT",
"dependencies": {
"lucide-react": "^0.441.0"

View File

@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components"
},
"version": "0.0.7",
"version": "0.0.8",
"type": "module",
"scripts": {
"prepack": "npm run build",

View File

@ -89,18 +89,12 @@ export function Menu({
<LogoInverse width={50} />
<span className="menu-separator">|</span>
<span className="menu-name">Codex</span>
<span className="menu-state">ALPHA</span>
<span className="menu-state">ALPHA {version}</span>
</div>
<div className="menu-items">
{items.map((item, index) => renderItem(item, index))}
</div>
<div className="menu-footer">
{version && (
<small className="menu-version">Version: {version}</small>
)}
</div>
</div>
</aside>
</>

View File

@ -23,7 +23,7 @@ type Props = {
};
const Template = (p: Props) => {
const { state, dispatch } = useStepperReducer(3);
const { state, dispatch } = useStepperReducer();
useEffect(() => {
dispatch({