mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-19 07:20:21 +02:00
refactor: Use arrow function where possible (#3315)
This commit is contained in:
@@ -34,7 +34,4 @@ export const IsMobileProvider = ({
|
||||
};
|
||||
|
||||
export const isMobile = () => getIsMobileMatcher().matches;
|
||||
|
||||
export default function useIsMobile() {
|
||||
return useContext(context);
|
||||
}
|
||||
export const useIsMobile = () => useContext(context);
|
||||
|
Reference in New Issue
Block a user