aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/contexts/PageTitleContext.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/contexts/PageTitleContext.tsx')
-rw-r--r--src/frontend/app/contexts/PageTitleContext.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend/app/contexts/PageTitleContext.tsx b/src/frontend/app/contexts/PageTitleContext.tsx
index 396e409..4a13a8a 100644
--- a/src/frontend/app/contexts/PageTitleContext.tsx
+++ b/src/frontend/app/contexts/PageTitleContext.tsx
@@ -24,7 +24,9 @@ export const PageTitleProvider: React.FC<{ children: React.ReactNode }> = ({
export const usePageTitleContext = () => {
const context = useContext(PageTitleContext);
if (!context) {
- throw new Error("usePageTitleContext must be used within a PageTitleProvider");
+ throw new Error(
+ "usePageTitleContext must be used within a PageTitleProvider"
+ );
}
return context;
};