Skip to content

Commit

Permalink
chore: remove dev-only stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
czabaj committed Dec 18, 2024
1 parent 8264286 commit 835e6d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/backend/NotificationHooks.res
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ let useDispatchFreshKegNotification = (~currentUserUid: string, ~place: Firestor
}
}

}
}

let useUpdateNotificationToken = () => {
let functions = Reactfire.useFunctions()
Expand Down
8 changes: 0 additions & 8 deletions src/pages/Place/Place.res
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ let make = (~placeId) => {
let isUserAuthorized = UserRoles.isAuthorized(currentUserRole, ...)
let formatConsumption = BackendUtils.getFormatConsumption(place.consumptionSymbols)

let dispatchTestNotification = NotificationHooks.useDispatchTestNotification(
~currentUserUid=currentUser.uid,
~place,
)

<FormattedCurrency.Provider value={place.currency}>
<div className={`${Styles.page.narrow} ${classes.root}`}>
<PlaceHeader
Expand All @@ -152,9 +147,6 @@ let make = (~placeId) => {
createdTimestamp={place.createdAt}
placeName={place.name}
/>
<button onClick={_ => dispatchTestNotification()}>
{React.string("Test notification")}
</button>
<main>
<BeerList
currentUserUid={currentUser.uid}
Expand Down

0 comments on commit 835e6d7

Please sign in to comment.