fix: removed unnessary code

This commit is contained in:
Shariq Ansari 2024-12-27 21:59:05 +05:30
parent 7e949ea78b
commit ced40e5182

View File

@ -5,7 +5,7 @@ const settings = ref({})
const brand = reactive({})
export function getSettings() {
const _settings = createDocumentResource({
createDocumentResource({
doctype: 'FCRM Settings',
name: 'FCRM Settings',
onSuccess: (data) => {
@ -17,10 +17,6 @@ export function getSettings() {
},
})
if (!settings.value?.length) {
_settings.fetch()
}
return {
settings,
brand,