adding in the actions in header

This commit is contained in:
talksik
2022-05-28 02:10:12 -05:00
parent 941dad7450
commit ad2c2abfad
3 changed files with 40 additions and 6 deletions
@@ -0,0 +1,12 @@
import React from 'react';
import Realm from 'realm';
interface IAuthContext {
user?: Realm.User;
}
const AuthContext = React.createContext<IAuthContext>({});
const AuthProvider = ({ children }: { children: React.ReactNode }) => {
return <AuthContext.Provider value={{}}>{children}</AuthContext.Provider>;
};
@@ -32,7 +32,7 @@ export function ElectronProvider({ children }: { children: React.ReactNode }) {
if (desktopMode === 'mainApp') {
stayOnTop = false;
finalDimensions = DEFAULT_APP_PRESET;
finalPosition = 'center';
// finalPosition = 'center';
} else if (desktopMode === 'overlayOnly') {
stayOnTop = true;
finalDimensions = {