From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

---
 PAMapp/node_modules/style-resources-loader/src/utils/load-resources.ts |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/PAMapp/node_modules/style-resources-loader/src/utils/load-resources.ts b/PAMapp/node_modules/style-resources-loader/src/utils/load-resources.ts
index da53de6..0f0e1b8 100644
--- a/PAMapp/node_modules/style-resources-loader/src/utils/load-resources.ts
+++ b/PAMapp/node_modules/style-resources-loader/src/utils/load-resources.ts
@@ -1,4 +1,4 @@
-import type {LoaderContext, LoaderCallback} from '..';
+import type {LoaderContext, LoaderCallback} from '../types';
 
 import {getResources} from './get-resources';
 import {injectResources} from './inject-resources';
@@ -10,10 +10,10 @@
 
         const resources = await getResources(ctx, options);
 
-        const content = await injectResources(options, source, resources);
+        const content = await injectResources(ctx, options, source, resources);
 
         callback(null, content);
-    } catch (err) {
-        callback(err);
+    } catch (err: unknown) {
+        callback(err as Error);
     }
 };

--
Gitblit v1.8.0