Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Dec 12, 2024
1 parent 47c60a2 commit c20041a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/screens/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function NotificationsScreen({}: Props) {
const [isLoadingAll, setIsLoadingAll] = React.useState(false)
const [isLoadingMentions, setIsLoadingMentions] = React.useState(false)
const initialActiveTab = lastActiveTab
const [activeTab, setActiveTab] = React.useState(lastActiveTab)
const [activeTab, setActiveTab] = React.useState(initialActiveTab)
const isLoading = activeTab === 0 ? isLoadingAll : isLoadingMentions

const onPageSelected = React.useCallback(
Expand Down

0 comments on commit c20041a

Please sign in to comment.