Use item list for members and add member detail view

This commit is contained in:
2020-01-11 23:53:42 +00:00
parent 58f3021cb1
commit 3ff81633a7
10 changed files with 118 additions and 63 deletions
+9
View File
@@ -1,7 +1,16 @@
import React, { useState, useEffect } from 'react';
import { Table } from 'semantic-ui-react';
export const siteUrl = window.location.protocol + '//' + window.location.hostname;
export const apiUrl = window.location.protocol + '//api.' + window.location.hostname;
export const staticUrl = window.location.protocol + '//static.' + window.location.hostname;
export const BasicTable = (props) => (
<Table collapsing padded unstackable basic='very'>
{props.children}
</Table>
);
export const requester = (route, method, token, data) => {
let options = {headers: {}};