<script>
  // core components
  import axios from 'axios';
  import {onMount} from 'svelte';
  import CardWGProfile from "components/Cards/CardWGProfiles.svelte";
  import CardWGControl from "components/Cards/CardWGControl.svelte";
  export let location;
  let wgProfileFetch = [];
  // onMount(async () => {
  //         await axios.get('http://192.168.10.2:8000/api2/wgClients')
  //             .then( response => {
  //                 wgProfileFetch = response.data
  //                 });
  //         console.log(wgProfileFetch);
  //         });
</script>

<div class="flex flex-wrap mt-4 mb-8">
      <CardWGControl />
      <CardWGProfile />

</div>
