Commit c50f8936 authored by / /\ / /\/'s avatar / /\ / /\/
Browse files

walk back lint changes to resolve route

parent 8021cd99
import GDPRUserList from './utils/GDPRUserList'; import GDPRUserList from './utils/GDPRUserList';
export const routeRegex = { export const routeRegex = {
UserProfile1: /^\/(@[\w.\d-]+)\/?$/, UserProfile1: /^\/(@[\w\.\d-]+)\/?$/,
UserProfile2: /^\/(@[\w.\d-]+)\/(transfers|curation-rewards|author-rewards|permissions|communities|password|settings)\/?$/, UserProfile2: /^\/(@[\w\.\d-]+)\/(transfers|curation-rewards|author-rewards|permissions|communities|password|settings)\/?$/,
}; };
export default function resolveRoute(path) { export default function resolveRoute(path) {
let match;
if (path === '/') { if (path === '/') {
return { page: 'WalletIndex' }; return { page: 'WalletIndex' };
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment