Skip to content

Commit

Permalink
fix: forgot to rename from battleTimers => stationTimers
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Sep 10, 2024
1 parent 19ae836 commit cd32477
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
},
"stations": {
"clustering": true,
"battleTimers": false,
"stationTimers": false,
"battleOpacity": true,
"enableStationPopupCoords": false,
"opacityTenMinutes": 0.75,
Expand Down
2 changes: 1 addition & 1 deletion src/features/station/StationPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function TimeStamp({ start = false, date = false, epoch }) {
const relativeTime = useRelativeTimer(epoch || 0)
const pastTense = epoch * 1000 < Date.now()
// const timerIsAlwaysVisible = useStorage(
// (s) => s.userSettings.stations.battleTimers,
// (s) => s.userSettings.stations.stationTimers,
// )
// const timerAlreadyVisible = useMemory((s) => s.timerList.includes(id))

Expand Down
2 changes: 1 addition & 1 deletion src/features/station/StationTile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const BaseStationTile = (station) => {
const individualTimer = useMemory((s) => s.timerList.includes(station.id))

const showTimer = useStorage(
(s) => s?.userSettings?.stations?.battleTimers || individualTimer,
(s) => s?.userSettings?.stations?.stationTimers || individualTimer,
)

const timers = React.useMemo(() => {
Expand Down

0 comments on commit cd32477

Please sign in to comment.