Skip to content

Commit

Permalink
fixed copyright years bug
Browse files Browse the repository at this point in the history
  • Loading branch information
artemis-prime committed Jan 24, 2024
1 parent 619c9c3 commit fef5f00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/common/copyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react'
const Copyright: React.FC = () => {

const year = new Date().getFullYear()
const yearString = (year > 2023) ? `${year} - 2023` : '2023'
const yearString = (year > 2023) ? `2023 - ${year}` : '2023'

return (
<>{`Copyright © ${yearString} Lux Partners Ltd. `} <br className='sm:hidden'/> All rights reserved.</>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@luxdefi/ui",
"version": "0.1.53",
"version": "0.1.54",
"description": "Library that contains shared UI primitives, styles, and core types",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down

0 comments on commit fef5f00

Please sign in to comment.