{"ast":null,"code":"import useSWR from 'swr';\n\nconst fetcher = (...args) => fetch(...args).then(res => res.json());\n\nexport const getLastPosts = () => {//   const { data, error } = useSWR('https://www.instagram.com/colivingfactory/?__a=1', fetcher)\n  //   if (error) return { error }\n  //   if (!data) return { loading: true }\n  //   console.log('instagram.js::11 data', data)\n  //   return { data }\n};","map":{"version":3,"sources":["/home/gkkdzdg/www/src/lib/instagram.js"],"names":["useSWR","fetcher","args","fetch","then","res","json","getLastPosts"],"mappings":"AAAA,OAAOA,MAAP,MAAmB,KAAnB;;AAEA,MAAMC,OAAO,GAAG,CAAC,GAAGC,IAAJ,KAAaC,KAAK,CAAC,GAAGD,IAAJ,CAAL,CAAeE,IAAf,CAAoBC,GAAG,IAAIA,GAAG,CAACC,IAAJ,EAA3B,CAA7B;;AAGA,OAAO,MAAMC,YAAY,GAAG,MAAM,CAClC;AACA;AACA;AACA;AACA;AACC,CANM","sourcesContent":["import useSWR from 'swr'\n\nconst fetcher = (...args) => fetch(...args).then(res => res.json())\n\n\nexport const getLastPosts = () => {\n//   const { data, error } = useSWR('https://www.instagram.com/colivingfactory/?__a=1', fetcher)\n//   if (error) return { error }\n//   if (!data) return { loading: true }\n//   console.log('instagram.js::11 data', data)\n//   return { data }\n}"]},"metadata":{},"sourceType":"module"}