Skip to content

Commit

Permalink
deleted BrowserRouter from app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadi38 committed Feb 24, 2025
1 parent f331eb1 commit c1cbd6a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
8 changes: 4 additions & 4 deletions client/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"files": {
"main.css": "/static/css/main.9eea8eb2.chunk.css",
"main.js": "/static/js/main.ea952941.chunk.js",
"main.js.map": "/static/js/main.ea952941.chunk.js.map",
"main.js": "/static/js/main.6b7ca9be.chunk.js",
"main.js.map": "/static/js/main.6b7ca9be.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.81534a39.js",
"runtime-main.js.map": "/static/js/runtime-main.81534a39.js.map",
"static/js/2.4657c1e3.chunk.js": "/static/js/2.4657c1e3.chunk.js",
"static/js/2.4657c1e3.chunk.js.map": "/static/js/2.4657c1e3.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.4afa46169fbbb26ee190b43b12199f37.js": "/precache-manifest.4afa46169fbbb26ee190b43b12199f37.js",
"precache-manifest.94c88b197e198856f5be99e634685da0.js": "/precache-manifest.94c88b197e198856f5be99e634685da0.js",
"service-worker.js": "/service-worker.js",
"static/css/main.9eea8eb2.chunk.css.map": "/static/css/main.9eea8eb2.chunk.css.map",
"static/js/2.4657c1e3.chunk.js.LICENSE.txt": "/static/js/2.4657c1e3.chunk.js.LICENSE.txt"
Expand All @@ -17,6 +17,6 @@
"static/js/runtime-main.81534a39.js",
"static/js/2.4657c1e3.chunk.js",
"static/css/main.9eea8eb2.chunk.css",
"static/js/main.ea952941.chunk.js"
"static/js/main.6b7ca9be.chunk.js"
]
}
2 changes: 1 addition & 1 deletion client/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href=""/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/main.9eea8eb2.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,l,i=t[0],f=t[1],a=t[2],p=0,s=[];p<i.length;p++)l=i[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(c&&c(t);s.length;)s.shift()();return u.push.apply(u,a||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var f=r[i];0!==o[f]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var i=this.webpackJsonpclient=this.webpackJsonpclient||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var a=0;a<i.length;a++)t(i[a]);var c=f;r()}([])</script><script src="/static/js/2.4657c1e3.chunk.js"></script><script src="/static/js/main.ea952941.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href=""/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/main.9eea8eb2.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,l,i=t[0],f=t[1],a=t[2],p=0,s=[];p<i.length;p++)l=i[p],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(c&&c(t);s.length;)s.shift()();return u.push.apply(u,a||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var f=r[i];0!==o[f]&&(n=!1)}n&&(u.splice(t--,1),e=l(l.s=r[0]))}return e}var n={},o={1:0},u=[];function l(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,l),r.l=!0,r.exports}l.m=e,l.c=n,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)l.d(r,n,function(t){return e[t]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var i=this.webpackJsonpclient=this.webpackJsonpclient||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var a=0;a<i.length;a++)t(i[a]);var c=f;r()}([])</script><script src="/static/js/2.4657c1e3.chunk.js"></script><script src="/static/js/main.6b7ca9be.chunk.js"></script></body></html>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "cbec3bebba05f3aafc7f16db5d06217c",
"revision": "1fcf7409d3587c1a4f18a037171526dd",
"url": "/index.html"
},
{
"revision": "aa5af2d354bb4b093256",
"revision": "a686746ddfd5becbea9b",
"url": "/static/css/main.9eea8eb2.chunk.css"
},
{
Expand All @@ -16,8 +16,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/static/js/2.4657c1e3.chunk.js.LICENSE.txt"
},
{
"revision": "aa5af2d354bb4b093256",
"url": "/static/js/main.ea952941.chunk.js"
"revision": "a686746ddfd5becbea9b",
"url": "/static/js/main.6b7ca9be.chunk.js"
},
{
"revision": "05fbb5ed970a924e23b7",
Expand Down
2 changes: 1 addition & 1 deletion client/build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.4afa46169fbbb26ee190b43b12199f37.js"
"/precache-manifest.94c88b197e198856f5be99e634685da0.js"
);

self.addEventListener('message', (event) => {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

import React, { useState, useEffect } from "react";
import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom";
// import { BrowserRouter as Router, Route, Routes, Link } from "react-router-dom";
import { Route, Routes, Link } from "react-router-dom";


import "./App.css";
import Videos from "./Videos.js";
Expand Down

0 comments on commit c1cbd6a

Please sign in to comment.