Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1edd3ed

Browse files
skylerwebdevDamian Sznajder
authored and
Damian Sznajder
committed
Removed aliases
I believe this is what you meant
1 parent db77c5a commit 1edd3ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎snippets/snippets.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
"import React Router": {
251251
"prefix": "imrr",
252252
"body": [
253-
"import { BrowserRouter as BR, Route as R, NavLink as NL } from 'react-router-dom'",
253+
"import { BrowserRouter as Router, Route, NavLink } from 'react-router-dom'",
254254
""
255255
]
256256
},
@@ -264,35 +264,35 @@
264264
"import React Browser Router - Route": {
265265
"prefix": "imbrr",
266266
"body": [
267-
"import { Route as R } from 'react-router-dom'",
267+
"import { Route } from 'react-router-dom'",
268268
""
269269
]
270270
},
271271
"import React Browser Router - Route Combo": {
272272
"prefix": "imbrc",
273273
"body": [
274-
"import { Route as R, Switch as S, NavLink as NL, Link as L } from 'react-router-dom'",
274+
"import { Route, Switch, NavLink, Link } from 'react-router-dom'",
275275
""
276276
]
277277
},
278278
"import React Browser Router - Switch": {
279279
"prefix": "imbrs",
280280
"body": [
281-
"import { Switch as S } from 'react-router-dom'",
281+
"import { Switch } from 'react-router-dom'",
282282
""
283283
]
284284
},
285285
"import React Browser Router - Link": {
286286
"prefix": "imbrl",
287287
"body": [
288-
"import { Link as L } from 'react-router-dom'",
288+
"import { Link } from 'react-router-dom'",
289289
""
290290
]
291291
},
292292
"import React Browser Router - NavLink": {
293293
"prefix": "imbrnl",
294294
"body": [
295-
"import { NavLink as NL } from 'react-router-dom'",
295+
"import { NavLink } from 'react-router-dom'",
296296
""
297297
]
298298
},

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /