diff options
| author | AAGaming <aagaming@riseup.net> | 2024-05-25 19:14:54 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-05-25 19:14:54 -0400 |
| commit | a84a13c76d99f1e6f4505d43108a4111749e5035 (patch) | |
| tree | e2826700cd371e6590818047551028d8179389bf /frontend/src/components/DeckyState.tsx | |
| parent | 96cc72f2ca25ccb312b68a29aca755bb7df660ed (diff) | |
| download | decky-loader-a84a13c76d99f1e6f4505d43108a4111749e5035.tar.gz decky-loader-a84a13c76d99f1e6f4505d43108a4111749e5035.zip | |
Custom error handler and some misc fixes
Diffstat (limited to 'frontend/src/components/DeckyState.tsx')
| -rw-r--r-- | frontend/src/components/DeckyState.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/DeckyState.tsx b/frontend/src/components/DeckyState.tsx index 749e27ce..75106e62 100644 --- a/frontend/src/components/DeckyState.tsx +++ b/frontend/src/components/DeckyState.tsx @@ -1,4 +1,4 @@ -import { FC, createContext, useContext, useEffect, useState } from 'react'; +import { FC, ReactNode, createContext, useContext, useEffect, useState } from 'react'; import { DEFAULT_NOTIFICATION_SETTINGS, NotificationSettings } from '../notification-service'; import { Plugin } from '../plugin'; @@ -134,6 +134,7 @@ export const useDeckyState = () => useContext(DeckyStateContext); interface Props { deckyState: DeckyState; + children?: ReactNode; } export const DeckyStateContextProvider: FC<Props> = ({ children, deckyState }) => { |
