Update "Follow" button labels (#36264)

This commit is contained in:
diondiondion authored and GitHub committed 2025-09-26 10:00:50 +00:00
1 parent e07b9dfdc1
commit cb5bbbfb05
5 files changed
+78 -127

No files matched your search

@@ -1,11 +1,12 @@
import { useState, useEffect } from 'react';
const breakpoints = {
narrow: 479, // Device width under which horizontal space is constrained
openable: 759, // Device width at which the sidebar becomes an openable hamburger menu
full: 1174, // Device width at which all 3 columns can be displayed
};
type Breakpoint = 'openable' | 'full';
type Breakpoint = keyof typeof breakpoints;
export const useBreakpoint = (breakpoint: Breakpoint) => {
const [isMatching, setIsMatching] = useState(false);