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

walk back lint changes to resolve route

parent 8021cd99
import GDPRUserList from './utils/GDPRUserList';
export const routeRegex = {
UserProfile1: /^\/(@[\w.\d-]+)\/?$/,
UserProfile2: /^\/(@[\w.\d-]+)\/(transfers|curation-rewards|author-rewards|permissions|communities|password|settings)\/?$/,
UserProfile1: /^\/(@[\w\.\d-]+)\/?$/,
UserProfile2: /^\/(@[\w\.\d-]+)\/(transfers|curation-rewards|author-rewards|permissions|communities|password|settings)\/?$/,
};
export default function resolveRoute(path) {
let match;
if (path === '/') {
return { page: 'WalletIndex' };
}
......
Supports Markdown
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