1 line
3.9 KiB
JSON
1 line
3.9 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 PageView from './PageView.jsx';\nimport { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport const 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","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 PageView from './PageView.jsx'\nimport { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query'\n\nexport const 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,OAAOC,QAAQ,MAAM,gBAAgB;AACrC,SAASC,WAAW,EAAEC,mBAAmB,EAAEC,QAAQ,QAAQ,uBAAuB;AAAA,SAAAC,MAAA,IAAAC,OAAA;AAElF,OAAO,MAAMC,WAAW,GAAG,IAAIL,WAAW,CAAC,CAAC;AAE5C,SAASM,GAAGA,CAAA,EAAG;EACb,oBACEF,OAAA,CAACH,mBAAmB;IAACM,MAAM,EAAEF,WAAY;IAAAG,QAAA,eACvCJ,OAAA,CAACT,aAAa;MAAAa,QAAA,eACZJ,OAAA,CAACR,MAAM;QAAAY,QAAA,gBACLJ,OAAA,CAACP,KAAK;UAACY,IAAI,EAAC,GAAG;UAACC,OAAO,eAAEN,OAAA,CAACN,OAAO;YAAAa,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAC;QAAE;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAC,CAAC,eACtCV,OAAA,CAACP,KAAK;UAACY,IAAI,EAAC,cAAc;UAACC,OAAO,eAAEN,OAAA,CAACL,QAAQ;YAACgB,EAAE,EAAC;UAAG;YAAAJ,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA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