mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-23 05:14:26 +00:00
chore: rename to slash
This commit is contained in:
@@ -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");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user