Skip to content

Commit

Permalink
console: Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaplots committed Jan 24, 2024
1 parent 044c6ae commit 466b8dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/webui/console/containers/notifications/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import NotificationList from './notification-list'
import NotificationContent from './notification-content'

import style from './notifications.styl'
import { isSafariUserAgent } from '@ttn-lw/lib/navigator'

const BATCH_SIZE = 50

Expand Down Expand Up @@ -118,7 +117,6 @@ const Notifications = () => {
setItems(updatedItems)

// Set the first notification as selected if none is currently selected.
console.log('loadItems', isSmallScreen)
if (!selectedNotification && !isSmallScreen) {
setSelectedNotification(updatedItems[0])
}
Expand Down
12 changes: 12 additions & 0 deletions pkg/webui/styles/utilities/general.styl
Original file line number Diff line number Diff line change
Expand Up @@ -388,5 +388,17 @@
.{$name}\\:d-inline-flex
display: inline-flex !important

.br-xs
border-radius: $br.xs

.br-s
border-radius: $br.s

.br-m
border-radius: $br.m

.br-l
border-radius: $br.l

.br-xl
border-radius: $br.xl

0 comments on commit 466b8dd

Please sign in to comment.