Skip to content

Commit

Permalink
style: Use single quotes for string literals consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
pacholoamit committed Sep 22, 2024
1 parent 63a86b8 commit d29c1e0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/providers/platform.provider.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { createContext, useEffect, useState } from "react";
import { createContext, useEffect, useState } from 'react';

import ExclusionModal from "@/components/exclusion-modal";
import useEffectAsync from "@/hooks/useEffectAsync";
import useIsFirstRun from "@/hooks/useIsFirstRun";
import { streams } from "@/lib";
import store from "@/lib/store";
import { getCurrentWindow as appWindow } from "webviewWindow";
import { Platform, platform as obtainPlatform } from "@tauri-apps/plugin-os";
import ExclusionModal from '@/components/exclusion-modal';
import useEffectAsync from '@/hooks/useEffectAsync';
import useIsFirstRun from '@/hooks/useIsFirstRun';
import { streams } from '@/lib';
import store from '@/lib/store';
import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow';
import { Platform, platform as obtainPlatform } from '@tauri-apps/plugin-os';

interface PlatformProviderProps {
children: React.ReactNode;
Expand Down Expand Up @@ -60,7 +60,7 @@ const PlatformProvider: React.FC<PlatformProviderProps> = ({ children }) => {
paddingLeft: 72,
paddingTop: 4,
onHeaderAreaClick: () => {
const window = appWindow();
const window = getCurrentWebviewWindow();
window.startDragging();
},
});
Expand Down

0 comments on commit d29c1e0

Please sign in to comment.