Skip to content

Commit

Permalink
Add Spoke version in app
Browse files Browse the repository at this point in the history
  • Loading branch information
mau11 committed Oct 22, 2024
1 parent 4c1b0ce commit 9aae90e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/containers/UserEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,18 @@ const styles = StyleSheet.create({
},
cancel: {
marginTop: 15
},
spokeVersion: {
position: "absolute",
left: -8,
bottom: -10,
fontSize: "smaller",
margin: 0
}
});

const spokeVersion = "14.1.2";

const fetchUser = async (organizationId, userId) => {
try {
const response = await apolloClient.query({
Expand Down Expand Up @@ -300,7 +309,7 @@ export class UserEditBase extends React.Component {
const fieldsNeeded = router && !!router.location.query.fieldsNeeded;

return (
<div style={{ padding: 20 }}>
<div style={{ padding: 20, position: "relative" }}>
{userId ? <div style={{}}>User Id: {userId}</div> : null}
<GSForm
style={{}}
Expand Down Expand Up @@ -440,6 +449,7 @@ export class UserEditBase extends React.Component {
racism, patriarchy, and militarism.
</CardContent>
</Card>
<p className={css(styles.spokeVersion)}>Spoke v{spokeVersion}</p>
</div>
);
}
Expand Down

0 comments on commit 9aae90e

Please sign in to comment.