aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/usrbg
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/usrbg')
-rw-r--r--src/plugins/usrbg/index.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/usrbg/index.tsx b/src/plugins/usrbg/index.tsx
index 0121d10..3e8c122 100644
--- a/src/plugins/usrbg/index.tsx
+++ b/src/plugins/usrbg/index.tsx
@@ -80,6 +80,9 @@ export default definePlugin({
}
],
+
+ data,
+
settingsAboutComponent: () => {
return (
<Link href="https://github.com/AutumnVN/usrbg#how-to-request-your-own-usrbg-banner">CLICK HERE TO GET YOUR OWN BANNER</Link>
@@ -116,7 +119,9 @@ export default definePlugin({
enableStyle(style);
const res = await fetch(BASE_URL);
- if (res.ok)
+ if (res.ok) {
data = await res.json();
+ this.data = data;
+ }
}
});