Bump version to 3.8.9: Add version display to profile
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 44s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 44s
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "play-life-web",
|
"name": "play-life-web",
|
||||||
"version": "3.8.8",
|
"version": "3.8.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { useAuth } from './auth/AuthContext'
|
import { useAuth } from './auth/AuthContext'
|
||||||
|
import packageJson from '../../package.json'
|
||||||
|
|
||||||
function Profile({ onNavigate }) {
|
function Profile({ onNavigate }) {
|
||||||
const { user, logout } = useAuth()
|
const { user, logout } = useAuth()
|
||||||
@@ -97,7 +98,7 @@ function Profile({ onNavigate }) {
|
|||||||
|
|
||||||
{/* Version Info */}
|
{/* Version Info */}
|
||||||
<div className="mt-8 text-center text-gray-400 text-sm">
|
<div className="mt-8 text-center text-gray-400 text-sm">
|
||||||
<p>Play Life</p>
|
<p>PlayLife v{packageJson.version}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user