mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Code style fixes
This commit is contained in:
parent
754b8ba91f
commit
f514affde9
3 changed files with 7 additions and 3 deletions
|
|
@ -65,7 +65,10 @@ export const createMenu = (
|
|||
|
||||
Created by Guillermo Rauch
|
||||
Copyright © 2022 Vercel, Inc.
|
||||
`.split('\n').map(z => z.trim()).join('\n'),
|
||||
`
|
||||
.split('\n')
|
||||
.map((z) => z.trim())
|
||||
.join('\n'),
|
||||
buttons: [],
|
||||
icon: icon as any
|
||||
});
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import toElectronBackgroundColor from '../utils/to-electron-background-color';
|
|||
|
||||
import contextMenuTemplate from './contextmenu';
|
||||
|
||||
if(process.platform === 'darwin') {
|
||||
if (process.platform === 'darwin') {
|
||||
electronDragClick();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
import React, {forwardRef} from 'react';
|
||||
|
||||
import {useDevicePixelRatio} from 'use-device-pixel-ratio';
|
||||
|
||||
import type {StyleSheetProps} from '../../typings/hyper';
|
||||
import { useDevicePixelRatio } from 'use-device-pixel-ratio';
|
||||
|
||||
const StyleSheet = forwardRef<HTMLStyleElement, StyleSheetProps>((props, ref) => {
|
||||
const {borderColor} = props;
|
||||
|
|
|
|||
Loading…
Reference in a new issue