From 6d086fb5d52a690c6e07c49ba065f1d83a8ab1db Mon Sep 17 00:00:00 2001
From: EMERALD <hudson.samuels@gmail.com>
Date: Wed, 12 Jul 2023 18:52:32 -0500
Subject: Add testing store info to browse tab (#504)

---
 frontend/src/store.tsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'frontend/src/store.tsx')

diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx
index f0ad0c1b..55d1e731 100644
--- a/frontend/src/store.tsx
+++ b/frontend/src/store.tsx
@@ -32,6 +32,10 @@ export interface PluginInstallRequest {
 // name: version
 export type PluginUpdateMapping = Map<string, StorePluginVersion>;
 
+export async function getStore(): Promise<Store> {
+  return await getSetting<Store>('store', Store.Default);
+}
+
 export async function getPluginList(): Promise<StorePlugin[]> {
   let version = await window.DeckyPluginLoader.updateVersion();
   let store = await getSetting<Store>('store', Store.Default);
-- 
cgit v1.2.3

