Merge branch 'develop'
This commit is contained in:
commit
810ea37bed
|
@ -1,4 +1,4 @@
|
|||
import React, { useState } from 'react';
|
||||
import React, { useState , useEffect } from 'react';
|
||||
import { Button , List , Pagination , Skeleton } from 'antd';
|
||||
import miyao from '../img/miyao_middle_icon.png';
|
||||
import axios from 'axios';
|
||||
|
@ -15,9 +15,9 @@ function SSH(props) {
|
|||
const [ visibleDesc , setVisibleDesc ] = useState(false);
|
||||
const [ content , setContent ] = useState(undefined);
|
||||
|
||||
useState(()=>{
|
||||
useEffect(()=>{
|
||||
Init();
|
||||
},[])
|
||||
},[page])
|
||||
|
||||
function Init() {
|
||||
const url = `/public_keys.json`;
|
||||
|
|
Loading…
Reference in New Issue