Update "Follow" button labels (#36264)

This commit is contained in:
diondiondion 2025-09-26 12:00:50 +02:00 committed by GitHub
commit cb5bbbfb05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 78 additions and 127 deletions

View file

@ -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);