1 line
4.1 KiB
JSON
1 line
4.1 KiB
JSON
|
{"ast":null,"code":"var _jsxFileName = \"/Users/shoofle/Projects/the-forest/src/App.js\";\nimport { BrowserRouter, Routes, Route } from 'react-router-dom';\nimport Landing from './Landing.jsx';\nimport { loader as pageLoader, default as PageView } from './PageView.jsx';\nimport { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst queryClient = new QueryClient();\nfunction App() {\n return /*#__PURE__*/_jsxDEV(QueryClientProvider, {\n client: queryClient,\n children: /*#__PURE__*/_jsxDEV(BrowserRouter, {\n children: /*#__PURE__*/_jsxDEV(Routes, {\n children: [/*#__PURE__*/_jsxDEV(Route, {\n path: \"/\",\n element: /*#__PURE__*/_jsxDEV(Landing, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 36\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/:pagenumber\",\n element: /*#__PURE__*/_jsxDEV(PageView, {\n id: \"1\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 47\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["BrowserRouter","Routes","Route","Landing","loader","pageLoader","default","PageView","QueryClient","QueryClientProvider","useQuery","jsxDEV","_jsxDEV","queryClient","App","client","children","path","element","fileName","_jsxFileName","lineNumber","columnNumber","id","_c","$RefreshReg$"],"sources":["/Users/shoofle/Projects/the-forest/src/App.js"],"sourcesContent":["import { BrowserRouter, Routes, Route } from 'react-router-dom';\nimport Landing from './Landing.jsx'\nimport { loader as pageLoader, default as PageView } from './PageView.jsx'\nimport { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query'\n\nconst queryClient = new QueryClient();\n\nfunction App() {\n return (\n <QueryClientProvider client={queryClient}>\n <BrowserRouter>\n <Routes>\n <Route path=\"/\" element={<Landing/>}/>\n <Route path=\"/:pagenumber\" element={<PageView id=\"1\"/>}/>\n </Routes>\n </BrowserRouter>\n </QueryClientProvider>\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,SAASA,aAAa,EAAEC,MAAM,EAAEC,KAAK,QAAQ,kBAAkB;AAC/D,OAAOC,OAAO,MAAM,eAAe;AACnC,SAASC,MAAM,IAAIC,UAAU,EAAEC,OAAO,IAAIC,QAAQ,QAAQ,gBAAgB;AAC1E,SAASC,WAAW,EAAEC,mBAAmB,EAAEC,QAAQ,QAAQ,uBAAuB;AAAA,SAAAC,MAAA,IAAAC,OAAA;AAElF,MAAMC,WAAW,GAAG,IAAIL,WAAW,CAAC,CAAC;AAErC,SAASM,GAAGA,CAAA,EAAG;EACb,oBACEF,OAAA,CAACH,mBAAmB;IAACM,MAAM,EAAEF,WAAY;IAAAG,QAAA,eACvCJ,OAAA,CAACZ,aAAa;MAAAgB,QAAA,eACZJ,OAAA,CAACX,MAAM;QAAAe,QAAA,gBACLJ,OAAA,CAACV,KAAK;UAACe,IAAI,EAAC,GAAG;UAACC,OAAO,eAAEN,OAAA,CAACT,OAAO;YAAAgB,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAC;QAAE;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAC,CAAC,eACtCV,OAAA,CAACV,KAAK;UAACe,IAAI,EAAC,cAAc;UAACC,OAAO,eAAEN,OAAA,CAACL,QAAQ;YAACg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