chore: rename to slash

This commit is contained in:
Steven
2023-07-11 23:51:17 +08:00
parent fcd72e1f98
commit b36572c5be
43 changed files with 97 additions and 97 deletions

View File

@@ -1,10 +1,10 @@
export const getShortifyData = () => {
export const getSlashData = () => {
return new Promise((resolve, reject) => {
chrome.storage.local.get(["shortify"], (data) => {
if (data?.shortify) {
resolve(data.shortify);
chrome.storage.local.get(["slash"], (data) => {
if (data?.slash) {
resolve(data.slash);
} else {
reject("shortify data not found");
reject("slash data not found");
}
});
});